Skip to content

Commit

Permalink
Send GitHub processing to celery
Browse files Browse the repository at this point in the history
  • Loading branch information
code-geek committed Jun 16, 2023
1 parent 84a6b5c commit 06d3d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sde_collections/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 06d3d5f

Please sign in to comment.