Skip to content

Node.js based forum software built for the modern web

fix: remove await from category update federation call

Julian Lambacbfba9bd80
diff --git a/src/api/categories.js b/src/api/categories.js
index 68c28caebd..4768d813ac 100644
--- a/src/api/categories.js
+++ b/src/api/categories.js
@@ -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 }) {