Skip to content

Commit 6ae671f

Browse files
#210 fix link in prov report to users
Update the link from `user` to `users`
1 parent b8f4dc0 commit 6ae671f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: data_management/prov.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def _add_code_run(dp_entity, doc, code_run, reg_uri_prefix, vocab_namespaces):
235235
user_authors = models.UserAuthor.objects.filter(user=code_run.updated_by)
236236
if len(user_authors) == 0:
237237
run_agent = doc.agent(
238-
f'{reg_uri_prefix}:api/user/{code_run.updated_by.id}',
238+
f'{reg_uri_prefix}:api/users/{code_run.updated_by.id}',
239239
{
240240
QualifiedName(
241241
vocab_namespaces[RDF_VOCAB_PREFIX], 'type'

0 commit comments

Comments
 (0)