Commit d0b752ce authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Remove .encode that breaks mailinglist api permissions check

parent dc43cab9
......@@ -13,6 +13,6 @@ class MailingListPermission(permissions.BasePermission):
return True
if 'secret' in request.GET:
return (request.GET['secret'].encode('utf-8')
return (request.GET['secret']
return False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment