summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/instance.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-23 16:35:57 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-23 16:35:57 +0200
commit8c9a8533434ec6e159541896d5f43e39303d42e4 (patch)
tree3da3cbf9aa33a160cd076f2b9f8d56396ae3bdfa /internal/gtsmodel/instance.go
parentOpengraph meta tags (#55) (diff)
downloadgotosocial-8c9a8533434ec6e159541896d5f43e39303d42e4.tar.xz
Instance settings updates (#59)
Allow admins to set instance settings through a PATCH to /api/v1/instance Update templates to reflect some of the new fields
Diffstat (limited to 'internal/gtsmodel/instance.go')
-rw-r--r--internal/gtsmodel/instance.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/gtsmodel/instance.go b/internal/gtsmodel/instance.go
index 8b97ea2ae..f39231319 100644
--- a/internal/gtsmodel/instance.go
+++ b/internal/gtsmodel/instance.go
@@ -24,6 +24,8 @@ type Instance struct {
ShortDescription string
// Longer description of this instance
Description string
+ // Terms and conditions of this instance
+ Terms string
// Contact email address for this instance
ContactEmail string
// Contact account ID in the database for this instance