Skip to content

Node.js based forum software built for the modern web

test: add await to check tests

Barış Soner Uşaklı1305faa8385b
diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js
index 21aebb4c63..b0e10d6641 100644
--- a/src/activitypub/notes.js
+++ b/src/activitypub/notes.js
@@ -267,7 +267,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
if (!hasTid && options.cid) {
// New topic, have category announce it
- activitypub.out.announce.topic(tid);
+ await activitypub.out.announce.topic(tid);
}
return { tid, count };