diff options
| author | 2021-08-31 15:59:12 +0200 | |
|---|---|---|
| committer | 2021-09-01 11:11:26 +0200 | |
| commit | 2786b5f88742c3f32b8ed497df3737cb4f57caec (patch) | |
| tree | c088b71b228a52fb3bbf37628caea82ff7a42067 /internal/db | |
| parent | go fmt (diff) | |
| download | gotosocial-2786b5f88742c3f32b8ed497df3737cb4f57caec.tar.xz | |
change muchos things
Diffstat (limited to 'internal/db')
| -rw-r--r-- | internal/db/bundb/admin.go | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/db/bundb/admin.go b/internal/db/bundb/admin.go index 6a51ffeb1..dd973ef2d 100644 --- a/internal/db/bundb/admin.go +++ b/internal/db/bundb/admin.go @@ -29,6 +29,7 @@ import (  	"strings"  	"time" +	"github.com/superseriousbusiness/gotosocial/internal/ap"  	"github.com/superseriousbusiness/gotosocial/internal/config"  	"github.com/superseriousbusiness/gotosocial/internal/db"  	"github.com/superseriousbusiness/gotosocial/internal/gtsmodel" @@ -113,7 +114,7 @@ func (a *adminDB) NewSignup(ctx context.Context, username string, reason string,  			PrivateKey:            key,  			PublicKey:             &key.PublicKey,  			PublicKeyURI:          newAccountURIs.PublicKeyURI, -			ActorType:             gtsmodel.ActivityStreamsPerson, +			ActorType:             ap.ActorPerson,  			URI:                   newAccountURIs.UserURI,  			InboxURI:              newAccountURIs.InboxURI,  			OutboxURI:             newAccountURIs.OutboxURI, @@ -207,7 +208,7 @@ func (a *adminDB) CreateInstanceAccount(ctx context.Context) db.Error {  		PrivateKey:            key,  		PublicKey:             &key.PublicKey,  		PublicKeyURI:          newAccountURIs.PublicKeyURI, -		ActorType:             gtsmodel.ActivityStreamsPerson, +		ActorType:             ap.ActorPerson,  		URI:                   newAccountURIs.UserURI,  		InboxURI:              newAccountURIs.InboxURI,  		OutboxURI:             newAccountURIs.OutboxURI,  | 
