Skip to content

Commit

Permalink
Merge pull request #59 from edly-io/tai/EDLY-5759
Browse files Browse the repository at this point in the history
Run dataloader in edly_site without celery - EDLY-5759
  • Loading branch information
taimoor-ahmed-1 authored Jul 12, 2023
2 parents a93029f + 531ecbc commit fefbcc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def post(self, request):

try:
self.discovery_site_setup()
run_dataloader.delay(partner, DEFAULT_COURSE_ID.format(partner), 'lms')
run_dataloader(partner, DEFAULT_COURSE_ID.format(partner), 'lms')
return Response(
{'success': ERROR_MESSAGES.get('CLIENT_SITES_SETUP_SUCCESS')},
status=status.HTTP_200_OK
Expand Down

0 comments on commit fefbcc6

Please sign in to comment.