mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 12:15:18 +01:00
b7dd32da42
It turns out that in Masto v2.3.0 the languages key was added to the V1
Instance and that it's effectively mandatory. Though in GtS we don't
really have this concept yet, some apps will explode if the languages
key is missing altogether. So at least return the empty array on V1 too
in the hopes that it makes things work well enough.
For history's sake, you can see the attributes that will get serialised
in
|
||
---|---|---|
.. | ||
instance_test.go | ||
instance.go | ||
instanceget.go | ||
instancepatch_test.go | ||
instancepatch.go | ||
instancepeersget_test.go | ||
instancepeersget.go |