Skip to content

Commit

Permalink
Hotfix authorization code for section comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikuoja committed Apr 13, 2016
1 parent d924878 commit 2f4b4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion democracy/views/section_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SectionCommentCreateSerializer(serializers.ModelSerializer):

class Meta:
model = SectionComment
fields = ['section', 'content', 'plugin_data']
fields = ['section', 'content', 'plugin_data', 'authorization_code']

def to_internal_value(self, data):
if data.get("plugin_data") is None:
Expand Down

0 comments on commit 2f4b4e9

Please sign in to comment.