test: add await to check tests

This commit is contained in:
Barış Soner Uşaklı
2025-12-17 14:35:35 -05:00
parent d505301fa0
commit 1305faa838

View File

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