Remove camelCase from the keys
This commit is contained in:
parent
5a8e0208b1
commit
d44ec2bf4c
1 changed files with 4 additions and 4 deletions
|
@ -93,10 +93,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
||||||
|
|
||||||
def fields_limits do
|
def fields_limits do
|
||||||
%{
|
%{
|
||||||
maxFields: Config.get([:instance, :max_account_fields]),
|
max_fields: Config.get([:instance, :max_account_fields]),
|
||||||
maxRemoteFields: Config.get([:instance, :max_remote_account_fields]),
|
max_remote_fields: Config.get([:instance, :max_remote_account_fields]),
|
||||||
nameLength: Config.get([:instance, :account_field_name_length]),
|
name_length: Config.get([:instance, :account_field_name_length]),
|
||||||
valueLength: Config.get([:instance, :account_field_value_length])
|
value_length: Config.get([:instance, :account_field_value_length])
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue