mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-18 10:30:49 +01: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