mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-28 10:00:31 +00: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.go | ||
instance_test.go | ||
instanceget.go | ||
instancepatch.go | ||
instancepatch_test.go | ||
instancepeersget.go | ||
instancepeersget_test.go |