mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-19 15:06:18 -06:00
[bugfix] serialize instance terms via API (#2293)
This commit is contained in:
parent
8a23ce2b3e
commit
1e632dc411
3 changed files with 6 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ type InstanceV2 struct {
|
|||
Contact InstanceV2Contact `json:"contact"`
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// Usage data for this instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue