Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow extra parameters for upload #23

Merged
merged 1 commit into from
Aug 18, 2013

Conversation

kcivey
Copy link
Contributor

@kcivey kcivey commented Aug 16, 2013

There was no way to send (for example) the text parameter in bot.upload()
or bot.uploadByUrl(), so I modified it to allow sending an object in place
of summary (comment), which will then be added to the parameters sent with
the request.

There was no way to send (for example) the `text` parameter in `bot.upload()`
or `bot.uploadByUrl()`, so I modified it to allow sending an object in place
of summary (comment), which will then be added to the parameters sent with
the request.
@kcivey
Copy link
Contributor Author

kcivey commented Aug 16, 2013

There are probably similar issues elsewhere, but this fixes something I needed, and it preserves backward compatibility.

@ghost ghost assigned macbre Aug 18, 2013
macbre added a commit that referenced this pull request Aug 18, 2013
@macbre macbre merged commit 71f8375 into macbre:master Aug 18, 2013
@macbre
Copy link
Owner

macbre commented Aug 18, 2013

Thanks!

@kcivey
Copy link
Contributor Author

kcivey commented Aug 18, 2013

You probably should tag it 0.3.8.

@kcivey kcivey deleted the extra-params-for-upload branch August 18, 2013 14:24
@macbre
Copy link
Owner

macbre commented Aug 18, 2013

Tagged and pushed to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants