Skip to content

Commit

Permalink
Fix #2880
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Mar 5, 2023
1 parent 0dce492 commit ce8eebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const { generalSocketHandler } = require("./socket-handlers/general-socket-handl
const { Settings } = require("./settings");
const { CacheableDnsHttpAgent } = require("./cacheable-dns-http-agent");
const { pluginsHandler } = require("./socket-handlers/plugins-handler");
const apicache = require("./modules/apicache");

app.use(express.json());

Expand Down Expand Up @@ -884,6 +885,9 @@ let needSetup = false;
socket.userID,
]);

// Fix #2880
apicache.clear();

callback({
ok: true,
msg: "Deleted Successfully.",
Expand Down

0 comments on commit ce8eebc

Please sign in to comment.