Skip to content

Commit

Permalink
test 5
Browse files Browse the repository at this point in the history
  • Loading branch information
thebkht committed Oct 30, 2023
1 parent f0ff69f commit 02e92c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/prisma/feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export const getFeed = async ({
},
},
});
await new Promise(resolve => setTimeout(resolve, 750))

return { feed: JSON.parse(JSON.stringify(feed)) };
} else {
const feed = await postgres.post.findMany({
Expand Down Expand Up @@ -106,6 +108,7 @@ export const getFeed = async ({
},
},
});
await new Promise(resolve => setTimeout(resolve, 750))

return { feed: JSON.parse(JSON.stringify(feed)) };
}
Expand Down

0 comments on commit 02e92c6

Please sign in to comment.