Fix to wait for the removal of item in i/registry/remove (#7101)

This commit is contained in:
coord_e 2021-01-18 00:52:41 +09:00 committed by GitHub
parent cbdd14fa82
commit b224760aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,5 +41,5 @@ export default define(meta, async (ps, user) => {
throw new ApiError(meta.errors.noSuchKey); throw new ApiError(meta.errors.noSuchKey);
} }
RegistryItems.remove(item); await RegistryItems.remove(item);
}); });