Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
edit: recommand api return liked
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagur1203 committed Jun 10, 2022
1 parent fcec0f5 commit ea06cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class NamedBoardService {
await this.boardRepository.save(board);
return {
status: HttpStatusCode.OK,
data: board,
data: { ...board, liked: !liked },
};
}

Expand Down

0 comments on commit ea06cee

Please sign in to comment.