Compare commits
No commits in common. "dev" and "main" have entirely different histories.
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);
|
const result = await UserService.updateAccountStatus(id, status);
|
||||||
sendResponse(res, {
|
sendResponse(res, {
|
||||||
success: true,
|
success: true,
|
||||||
message: "Account updated successfully",
|
message: "Account disabled successfully",
|
||||||
data: result,
|
data: result,
|
||||||
statusCode: httpStatus.OK,
|
statusCode: httpStatus.OK,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue