mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-07 00:45:18 -04:00
Made sure that more of the async usages are awaited (#4574)
This commit is contained in:
parent
a9a1cf1353
commit
0e3b3a9ab8
19 changed files with 53 additions and 53 deletions
|
@ -27,7 +27,7 @@ module.exports = (socket) => {
|
|||
socket.on("shrinkDatabase", async (callback) => {
|
||||
try {
|
||||
checkLogin(socket);
|
||||
Database.shrink();
|
||||
await Database.shrink();
|
||||
callback({
|
||||
ok: true,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue