mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] serialize instance terms via API (#2293)
This commit is contained in:
@ -90,6 +90,8 @@ type InstanceV1 struct {
|
||||
MaxTootChars uint `json:"max_toot_chars"`
|
||||
// An itemized list of rules for this instance.
|
||||
Rules []InstanceRule `json:"rules"`
|
||||
// Terms and conditions for accounts on this instance.
|
||||
Terms string `json:"terms,omitempty"`
|
||||
}
|
||||
|
||||
// InstanceV1URLs models instance-relevant URLs for client application consumption.
|
||||
|
Reference in New Issue
Block a user