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 f9c827a033
commit b6a6fdaa07

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);
});