Commit 8fbebbd6 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Merge branch 'fix/typo-in-push-device-viewset' into 'master'

Fix typo in push notification devices viewset

See merge request !862
parents 5ca81fde 50bb5a1f
......@@ -31,7 +31,7 @@ class DeviceViewSet(ModelViewSet):
pass
data = serializer.validated_data
if 'receive_category' in data and len(data['receive_category']) > 0:
categories = data['receive_catogory'] + ['general']
categories = data['receive_category'] + ['general']
serializer.save(user=self.request.user, language=language,
receive_category=categories)
else:
......
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