From 06d3d5f03e33c067439960ce610f7289de8c2e0a Mon Sep 17 00:00:00 2001 From: Ashish Acharya Date: Fri, 16 Jun 2023 00:24:55 -0500 Subject: [PATCH] Send GitHub processing to celery --- sde_collections/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sde_collections/views.py b/sde_collections/views.py index 148591c3..c38b81cb 100644 --- a/sde_collections/views.py +++ b/sde_collections/views.py @@ -292,7 +292,7 @@ def post(self, request): "collection_ids can't be empty.", status=status.HTTP_400_BAD_REQUEST ) - push_to_github_task(collection_ids) + push_to_github_task.delay(collection_ids) return Response( {"Success": "Started pushing collections to github"},