Skip to content

Commit 889e854

Browse files
Merge branch 'issue-#227'
2 parents a16e2e3 + 045fe06 commit 889e854

File tree

4 files changed

+260
-257
lines changed

4 files changed

+260
-257
lines changed

src/backend/posts.api.ts

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const getSinglePost = async (id: string) => {
7373
*/
7474
const getAllUserPosts = async (userId: string) => {
7575
try {
76+
7677
const allPosts = await db.listDocuments(palettegramDB, postsCollection, [
7778
Query.equal("userId", userId),
7879
Query.orderDesc("$createdAt"),

0 commit comments

Comments
 (0)