Skip to content

Commit

Permalink
Merge pull request #21 from Finboost/dev-arman
Browse files Browse the repository at this point in the history
feat(api): add response id with specify field, e.g. userId, roleId, w…
  • Loading branch information
armandwipangestu authored Jun 12, 2024
2 parents 9ddb40d + dce6e8c commit 6763e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/roles.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const insertRoleHandler = async (req, res) => {
status: "success",
message: "Role created successfully",
data: {
id: newRoleData.id,
roleId: newRoleData.id,
},
});
} catch (error) {
Expand Down

0 comments on commit 6763e68

Please sign in to comment.