Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

fix(readme.md): change function calls in README.md for imgur v1 #173

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

swarajpure
Copy link
Contributor

saveClient function expects two arguments and according to the documentation, we were passing only
one which resulted in errors.

fix #162

saveClient function expects two arguments and according to the documentation, we were passing only
one which resulted in errors.

fix kaimallea#162
Copy link
Collaborator

@KenEucker KenEucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This updates the readme and resolves the incorrect instructions for the saveClientId method, with the prototype:

imgur.saveClientId = async (clientId, path) => {
  path = path || DEFAULT_CLIENT_ID_PATH;

@kaimallea all good 👍

@kaimallea
Copy link
Owner

@swarajpure thanks for your contribution! :shipit:

@KenEucker thx for the extra set of eyes!

@kaimallea kaimallea merged commit 84f6f40 into kaimallea:main Apr 20, 2021
@kaimallea
Copy link
Owner

🎉 This PR is included in version 1.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[bug] imgur.saveClient not working as per docs
3 participants