Merge pull request #517 from ThibG/glitch-soc/fixes/max_toot_chars

Add missing comma in InitalStateSerializer (fixes #516)
signup-info-prompt
ThibG 2018-05-25 14:44:20 +02:00 committed by GitHub
commit 9b75a13104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
class InitialStateSerializer < ActiveModel::Serializer class InitialStateSerializer < ActiveModel::Serializer
attributes :meta, :compose, :accounts, attributes :meta, :compose, :accounts,
:media_attachments, :settings :media_attachments, :settings,
:max_toot_chars :max_toot_chars
has_one :push_subscription, serializer: REST::WebPushSubscriptionSerializer has_one :push_subscription, serializer: REST::WebPushSubscriptionSerializer