mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Fix #2494
This commit is contained in:
parent
27146ffeef
commit
e88e10cc8e
1 changed files with 6 additions and 0 deletions
|
@ -244,6 +244,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
||||||
socket.userID,
|
socket.userID,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
apicache.clear();
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
msg: "Deleted Successfully.",
|
msg: "Deleted Successfully.",
|
||||||
|
@ -269,6 +271,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
||||||
maintenanceID,
|
maintenanceID,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
apicache.clear();
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
msg: "Paused Successfully.",
|
msg: "Paused Successfully.",
|
||||||
|
@ -294,6 +298,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
||||||
maintenanceID,
|
maintenanceID,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
apicache.clear();
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
msg: "Resume Successfully",
|
msg: "Resume Successfully",
|
||||||
|
|
Loading…
Reference in a new issue