summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-20 19:04:35 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-20 19:04:35 +0100
commitb3d13623700ab340e6f1bd786998cc92c175a9ae (patch)
treeb1c2c327867b5a07d967dbd734755c584dd814d3 /internal
parentformatting,comments (diff)
downloadgotosocial-b3d13623700ab340e6f1bd786998cc92c175a9ae.tar.xz
add fields
Diffstat (limited to 'internal')
-rw-r--r--internal/gtsmodel/application.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/internal/gtsmodel/application.go b/internal/gtsmodel/application.go
index 80dc1fd06..c0d6dddaf 100644
--- a/internal/gtsmodel/application.go
+++ b/internal/gtsmodel/application.go
@@ -19,11 +19,12 @@
package gtsmodel
type Application struct {
- ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
- Name string
- Website string
- RedirectURI string `json:"redirect_uri"`
- ClientID string `json:"client_id"`
+ ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
+ Name string
+ Website string
+ RedirectURI string `json:"redirect_uri"`
+ ClientID string `json:"client_id"`
ClientSecret string `json:"client_secret"`
- VapidKey string `json:"vapid_key"`
+ Scopes string `json:"scopes"`
+ VapidKey string `json:"vapid_key"`
}