Skip to content
Snippets Groups Projects
Verified Commit 122c3907 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed privacy issue in get_privacy_query utils function

parent 2d4003c8
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,6 @@ def privacy_level_query(user, lookup_field='privacy_level'):
return models.Q(**{
'{}__in'.format(lookup_field): [
'me', 'followers', 'instance', 'everyone'
'followers', 'instance', 'everyone'
]
})
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