Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Add comment option for createBadgeInstance - #25

Merged
1 commit merged into
masterfrom
badge-issue-comments
Jul 22, 2014
Merged

1 commit merged into
masterfrom
badge-issue-comments

Conversation

@ghost

@ghost ghost commented Jul 22, 2014

Copy link
Copy Markdown

This adds an optional "comment" that can be specified when calling createBadgeInstance. Badgekit API does not store this value, but simply passes it along to any webhooks called when creating a badge.

This changes the signature of createBadgeInstance from (context, code, callback) to (context, options, callback), where options can be of the form { code: code, comment: comment}. The old format of (context, code, callback) is still supported, however.

ghost pushed a commit that referenced this pull request Jul 22, 2014
Add comment option for createBadgeInstance
@ghost
ghost merged commit 7f53732 into master Jul 22, 2014
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant