From 5df5a77fbc7717ef8c9589195ce928b2daabead6 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Tue, 27 Feb 2024 05:26:06 +1300 Subject: [PATCH] oops --- app/activitypub/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/activitypub/util.py b/app/activitypub/util.py index 0f2ddccf..12ee374d 100644 --- a/app/activitypub/util.py +++ b/app/activitypub/util.py @@ -359,9 +359,9 @@ def refresh_user_profile_task(user_id): def refresh_community_profile(community_id): if current_app.debug: - refresh_community_profile(community_id) + refresh_community_profile_task(community_id) else: - refresh_community_profile.apply_async(args=(community_id,), countdown=randint(1, 10)) + refresh_community_profile_task.apply_async(args=(community_id,), countdown=randint(1, 10)) @celery.task