Add github actions, refactor seed and beer p likes

This commit is contained in:
Aaron William Po
2023-02-09 02:23:18 -05:00
parent d8ae58844c
commit c2eb4d1371
10 changed files with 299 additions and 483 deletions

View File

@@ -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,