[bugfix] serialize instance terms via API (#2293)

This commit is contained in:
tobi 2023-10-24 14:23:22 +02:00 committed by GitHub
commit cc313f58cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -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.