Skip to content

Commit

Permalink
밈 조회 시 업데이트된 밈 정보 조회하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seohyun0120 committed Jul 14, 2024
1 parent b280824 commit 244600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/meme.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const getMemeWithKeywords = async (req: CustomRequest, res: Response, next: Next
}

logger.info(`Get meme with keywords - ${meme._id})`);
return res.json(createSuccessResponse(HttpCode.OK, 'Get Meme', meme));
return res.json(createSuccessResponse(HttpCode.OK, 'Get Meme', ret));
} catch (err) {
return next(new CustomError(err.message, err.status));
}
Expand Down

0 comments on commit 244600c

Please sign in to comment.