Skip to content

Commit

Permalink
Merge pull request #919 from kobotoolbox/fix-wrong-targeted-xforms-in…
Browse files Browse the repository at this point in the history
…-migration

Fix wrong OpenRosa server urls when migrating require auth from account level to project level
  • Loading branch information
jnm authored Feb 7, 2024
2 parents 83d69a2 + e5e43bb commit 280c829
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def update_open_rosa_server_in_redis(apps, schema_editor):
server_url = settings.KOBOCAT_URL.strip('/')

xforms_iter = (
XForm.objects.filter(user__profile__require_auth=False)
XForm.objects.filter(require_auth=True)
.values('id_string', 'user__username')
.iterator(chunk_size=CHUNK_SIZE)
)
Expand Down

0 comments on commit 280c829

Please sign in to comment.