summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/application.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/application.go')
-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"`
}