mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-27 22:38:39 +09:00
Fix to wait for the removal of item in i/registry/remove (#7101)
This commit is contained in:
parent
cbdd14fa82
commit
b224760aba
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user