fix(monitors): expose failedCount in bulk pause API response
This commit is contained in:
1 parent
bec5ef09cb
commit
a044d7b2c7
1 file changed
+1
-1
@@ -328,7 +328,7 @@ class MonitorController implements IMonitorController {
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
msg,
|
||||
data: monitors,
|
||||
data: { monitors, failedCount },
|
||||
});
|
||||
} catch (error) {
|
||||
next(error);
|
||||
|
||||
Reference in new issue
Block a user