Skip to content

Commit 7556731

Browse files
Lukeghencotimdorr
authored andcommitted
updated reddit.com api request link (#2032)
1 parent 9ad45b7 commit 7556731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/AsyncActions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export function fetchPosts(subreddit) {
350350
// In this case, we return a promise to wait for.
351351
// This is not required by thunk middleware, but it is convenient for us.
352352

353-
return fetch(`http://www.reddit.com/r/${subreddit}.json`)
353+
return fetch(`https://www.reddit.com/r/${subreddit}.json`)
354354
.then(response => response.json())
355355
.then(json =>
356356

0 commit comments

Comments
 (0)