summaryrefslogtreecommitdiff
path: root/internal/cliactions/server/server.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2021-09-03 10:27:40 +0100
committerLibravatar GitHub <noreply@github.com>2021-09-03 10:27:40 +0100
commit25edd57eaf3eecf0b449a4dabb5b5fc5d6ae7687 (patch)
treeb6cffb65d46a07f59d5393a257973910d4116227 /internal/cliactions/server/server.go
parentsession name fix (#185) (diff)
parentreview changes (diff)
downloadgotosocial-25edd57eaf3eecf0b449a4dabb5b5fc5d6ae7687.tar.xz
Merge pull request #186 from superseriousbusiness/struct_validation
Struct validation
Diffstat (limited to 'internal/cliactions/server/server.go')
-rw-r--r--internal/cliactions/server/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cliactions/server/server.go b/internal/cliactions/server/server.go
index 504a4c3c7..0769ade82 100644
--- a/internal/cliactions/server/server.go
+++ b/internal/cliactions/server/server.go
@@ -73,8 +73,8 @@ var models []interface{} = []interface{}{
&gtsmodel.Instance{},
&gtsmodel.Notification{},
&gtsmodel.RouterSession{},
- &oauth.Token{},
- &oauth.Client{},
+ &gtsmodel.Token{},
+ &gtsmodel.Client{},
}
// Start creates and starts a gotosocial server