Skip to content

Commit

Permalink
docs(Client): add missing parenthesis in fetchInvite example (#3023)
Browse files Browse the repository at this point in the history
This is already fixed in master, resolves #3022
  • Loading branch information
Darqam authored and SpaceEEC committed Jan 16, 2019
1 parent 46fd7b0 commit 5ed2a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class Client extends EventEmitter {
* @returns {Promise<Invite>}
* @example
* client.fetchInvite('https://discord.gg/bRCvFy9')
* .then(invite => console.log(`Obtained invite with code: ${invite.code}`)
* .then(invite => console.log(`Obtained invite with code: ${invite.code}`))
* .catch(console.error);
*/
fetchInvite(invite) {
Expand Down

0 comments on commit 5ed2a95

Please sign in to comment.