Skip to content

Commit

Permalink
Fix url in run_collaborative_analysis_audit
Browse files Browse the repository at this point in the history
It was resolving the dbGaP url, not the collab analysis url. This
is only an issue in the message that's printed out or emailed, so
not a big deal to have it wrong before.
  • Loading branch information
amstilp committed Jun 18, 2024
1 parent 746736a commit 308e988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def handle(self, *args, **options):
# Report errors and needs access.
audit_ok = data_access_audit.ok()
# Construct the url for handling errors.
url = "https://" + Site.objects.get_current().domain + reverse("dbgap:audit:access:all")
url = "https://" + Site.objects.get_current().domain + reverse("collaborative_analysis:audit:all")
if audit_ok:
self.stdout.write(self.style.SUCCESS("ok!"))
else:
Expand Down
2 changes: 1 addition & 1 deletion primed/collaborative_analysis/tests/test_commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Tests for management commands in the `dbgap` app."""
"""Tests for management commands in the `collaborative_analysis` app."""

from io import StringIO

Expand Down

0 comments on commit 308e988

Please sign in to comment.