From b224760aba3260d1f39984fe58dafaa45e3c1194 Mon Sep 17 00:00:00 2001 From: coord_e Date: Mon, 18 Jan 2021 00:52:41 +0900 Subject: [PATCH] Fix to wait for the removal of item in i/registry/remove (#7101) --- src/server/api/endpoints/i/registry/remove.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/i/registry/remove.ts b/src/server/api/endpoints/i/registry/remove.ts index e73444efd2..4f04d653b3 100644 --- a/src/server/api/endpoints/i/registry/remove.ts +++ b/src/server/api/endpoints/i/registry/remove.ts @@ -41,5 +41,5 @@ export default define(meta, async (ps, user) => { throw new ApiError(meta.errors.noSuchKey); } - RegistryItems.remove(item); + await RegistryItems.remove(item); });