Fix #2494
This commit is contained in:
parent
27146ffeef
commit
e88e10cc8e
|
@ -244,6 +244,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
|||
socket.userID,
|
||||
]);
|
||||
|
||||
apicache.clear();
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Deleted Successfully.",
|
||||
|
@ -269,6 +271,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
|||
maintenanceID,
|
||||
]);
|
||||
|
||||
apicache.clear();
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Paused Successfully.",
|
||||
|
@ -294,6 +298,8 @@ module.exports.maintenanceSocketHandler = (socket) => {
|
|||
maintenanceID,
|
||||
]);
|
||||
|
||||
apicache.clear();
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Resume Successfully",
|
||||
|
|
Loading…
Reference in New Issue