diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-07-02 12:55:08 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-07-02 12:55:08 -0500 |
commit | d44ec2bf4ced0278b8cc5a0b5fa36fcfe38df38b (patch) | |
tree | 9ef39ac03fd45e5f57365b39a4f9ab5837a6d5e6 | |
parent | 5a8e0208b1cfb1995353b83338f20dc5cca195e1 (diff) | |
download | pleroma-d44ec2bf4ced0278b8cc5a0b5fa36fcfe38df38b.tar.gz |
Remove camelCase from the keys
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/instance_view.ex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index 347480d49..89e48fba5 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -93,10 +93,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do def fields_limits do %{ - maxFields: Config.get([:instance, :max_account_fields]), - maxRemoteFields: Config.get([:instance, :max_remote_account_fields]), - nameLength: Config.get([:instance, :account_field_name_length]), - valueLength: Config.get([:instance, :account_field_value_length]) + max_fields: Config.get([:instance, :max_account_fields]), + max_remote_fields: Config.get([:instance, :max_remote_account_fields]), + name_length: Config.get([:instance, :account_field_name_length]), + value_length: Config.get([:instance, :account_field_value_length]) } end end |