Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb7e716644 |
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ const updateAccountStatus = catchAsync(async (req, res) => {
|
|||
const result = await UserService.updateAccountStatus(id, status);
|
||||
sendResponse(res, {
|
||||
success: true,
|
||||
message: "Account disabled successfully",
|
||||
message: "Account updated successfully",
|
||||
data: result,
|
||||
statusCode: httpStatus.OK,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue