Skip to content

Commit

Permalink
Merge pull request #29 from GenieWizards/feat/aadd-activity-log
Browse files Browse the repository at this point in the history
fix: update delete group logging/response to use group name instead of ID
  • Loading branch information
shivamvijaywargi authored Nov 20, 2024
2 parents 22d228a + f2c5e85 commit 70ead4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/group/group.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ export const deleteGroup: AppRouteHandler<TDeleteGroupRoute> = async (c) => {
actorName: user.fullName || "",
},
});
logger.debug(`Group with ${deletedGroup.id} deleted successfully`);
logger.debug(`Group ${deletedGroup.name} deleted successfully`);

return c.json(
{
success: true,
message: `Group with ${deletedGroup.id} deleted successfully`,
message: `Group ${deletedGroup.name} deleted successfully`,
},
HTTPStatusCodes.OK,
);
Expand Down

0 comments on commit 70ead4a

Please sign in to comment.