mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-04 15:39:35 -05:00
Add tests for deleteMaintenanceWindow
This commit is contained in:
@@ -128,7 +128,7 @@ const deleteMaintenanceWindow = async (req, res, next) => {
|
||||
}
|
||||
try {
|
||||
await req.db.deleteMaintenanceWindowById(req.params.id);
|
||||
return res.status(201).json({
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
msg: successMessages.MAINTENANCE_WINDOW_DELETE,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user