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({
|
return res.status(200).json({
|
||||||
success: true,
|
success: true,
|
||||||
msg,
|
msg,
|
||||||
data: monitors,
|
data: { monitors, failedCount },
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
next(error);
|
next(error);
|
||||||
|
|||||||
Reference in new issue
Block a user