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

Add missing comma in InitalStateSerializer (fixes #516)
This commit is contained in:
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

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