Skip to content

Commit b32d44c

Browse files
code
1 parent 897f717 commit b32d44c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,7 @@ function getPostInfo(session, postId, cache, db) {
152152
throw new Error("Could not get post")
153153
}
154154

155-
const [commentsOk, commentsErr, comments = []] = try db.selectComments(
156-
post.id,
157-
user
158-
)
155+
const [commentsOk, commentsErr, comments = []] = try db.selectComments(post.id, user)
159156

160157
// The post must still be returned even if fetching comments fails
161158
if (!commentsOk) {

0 commit comments

Comments
 (0)