Skip to content

Commit 2f6f9ee

Browse files
author
Eric
committed
Updated getRandomSubmission example
1 parent bb4f411 commit 2f6f9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/objects/Subreddit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ const Subreddit = class Subreddit extends RedditContent {
468468
* @returns {Promise} The retrieved Submission object
469469
* @example
470470
*
471-
* r.getSubreddit('snoowrap').getRandomSubmission.then(console.log)
471+
* r.getSubreddit('snoowrap').getRandomSubmission().then(console.log)
472472
* // => Submission { ... }
473473
*/
474474
getRandomSubmission () {

0 commit comments

Comments
 (0)