Skip to content
Snippets Groups Projects
Commit bd03fff9 authored by Sylvain Le Bon's avatar Sylvain Le Bon
Browse files

bugfix: unknown author

parent 97401ee5
No related branches found
No related tags found
1 merge request!54New permissions
Pipeline #15962 failed
......@@ -193,7 +193,7 @@ def send_notifications(instance, request_type):
def send_request(target, object_iri, instance, request_type):
author = get_current_user().urlid
author = getattr(get_current_user(), 'urlid', 'unknown')
# local inbox
if target.startswith(settings.SITE_URL):
user = Model.resolve_parent(target.replace(settings.SITE_URL, ''))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment