mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix: remove await from category update federation call
This commit is contained in:
@@ -65,7 +65,7 @@ categoriesAPI.update = async function (caller, data) {
|
||||
const payload = {};
|
||||
payload[cid] = values;
|
||||
await categories.update(payload);
|
||||
await activitypubApi.update.category(caller, { cid });
|
||||
activitypubApi.update.category(caller, { cid }); // background
|
||||
};
|
||||
|
||||
categoriesAPI.delete = async function (caller, { cid }) {
|
||||
|
||||
Reference in New Issue
Block a user