diff options
| author | 2021-05-09 20:34:27 +0200 | |
|---|---|---|
| committer | 2021-05-09 20:34:27 +0200 | |
| commit | dc338dc881ead40723f0540aac7fe894f58b174d (patch) | |
| tree | a000a065ffe219683f68520dd66b12aa1506a9fa /internal/db | |
| parent | Fix token sweep (#19) (diff) | |
| download | gotosocial-dc338dc881ead40723f0540aac7fe894f58b174d.tar.xz | |
Webfinger + Small fixes (#20)
Diffstat (limited to 'internal/db')
| -rw-r--r-- | internal/db/pg.go | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/internal/db/pg.go b/internal/db/pg.go index f59103af7..c0fbcc9e0 100644 --- a/internal/db/pg.go +++ b/internal/db/pg.go @@ -344,8 +344,8 @@ func (ps *postgresService) CreateInstanceAccount() error {  func (ps *postgresService) CreateInstanceInstance() error {  	i := >smodel.Instance{  		Domain: ps.config.Host, -		Title: ps.config.Host, -		URI: fmt.Sprintf("%s://%s", ps.config.Protocol, ps.config.Host), +		Title:  ps.config.Host, +		URI:    fmt.Sprintf("%s://%s", ps.config.Protocol, ps.config.Host),  	}  	inserted, err := ps.conn.Model(i).Where("domain = ?", ps.config.Host).SelectOrInsert()  	if err != nil { @@ -354,7 +354,7 @@ func (ps *postgresService) CreateInstanceInstance() error {  	if inserted {  		ps.log.Infof("created instance instance %s with id %s", ps.config.Host, i.ID)  	} else { -		ps.log.Infof("instance instance %s already exists with id %s",  ps.config.Host, i.ID) +		ps.log.Infof("instance instance %s already exists with id %s", ps.config.Host, i.ID)  	}  	return nil  } | 
