mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 10:17:15 +02:00
fix ap jobs
This commit is contained in:
@@ -13,7 +13,7 @@ const Jobs = module.exports;
|
||||
Jobs.start = async () => {
|
||||
activitypub.helpers.log('[activitypub/jobs] Registering jobs.');
|
||||
async function tryCronJob(method) {
|
||||
if (meta.config.activityPubEnabled) {
|
||||
if (meta.config.activitypubEnabled) {
|
||||
await method();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user