mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Add github actions, refactor seed and beer p likes
This commit is contained in:
@@ -24,7 +24,7 @@ const checkIfLiked = async (
|
||||
|
||||
res.status(200).json({
|
||||
success: true,
|
||||
message: 'Successfully checked if beer post is liked by the current user',
|
||||
message: alreadyLiked ? 'Beer post is liked.' : 'Beer post is not liked.',
|
||||
statusCode: 200,
|
||||
payload: {
|
||||
isLiked: !!alreadyLiked,
|
||||
|
||||
Reference in New Issue
Block a user