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

View file

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