gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b3d13623700ab340e6f1bd786998cc92c175a9ae
parent 81760963b04501e237a2822570fb580104aacd0a
Author: tsmethurst <tobi.smethurst@klarrio.com>
Date:   Sat, 20 Mar 2021 19:04:35 +0100

add fields

Diffstat:
Minternal/gtsmodel/application.go | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git 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"` }