summaryrefslogtreecommitdiff
path: root/internal/gtsmodel
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-20 19:08:17 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-20 19:08:17 +0100
commit044c0df42813697a0923e6de87ac8e2243d6025c (patch)
tree14a8a01729268efb879c114b7e54c0257b9b87c3 /internal/gtsmodel
parenttidying up (diff)
downloadgotosocial-044c0df42813697a0923e6de87ac8e2243d6025c.tar.xz
go fmt
Diffstat (limited to 'internal/gtsmodel')
-rw-r--r--internal/gtsmodel/account.go2
-rw-r--r--internal/gtsmodel/user.go10
2 files changed, 6 insertions, 6 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go
index 7bc8118a3..67860146e 100644
--- a/internal/gtsmodel/account.go
+++ b/internal/gtsmodel/account.go
@@ -121,7 +121,7 @@ type Account struct {
// When was this account suspended (eg., don't allow it to log in/post, don't accept media/posts from this account)
SuspendedAt time.Time `pg:"type:timestamp"`
// How much do we trust this account 🤔
- TrustLevel int
+ TrustLevel int
// Should we hide this account's collections?
HideCollections bool
// id of the user that suspended this account through an admin action
diff --git a/internal/gtsmodel/user.go b/internal/gtsmodel/user.go
index c105899b8..551cbe2a4 100644
--- a/internal/gtsmodel/user.go
+++ b/internal/gtsmodel/user.go
@@ -112,9 +112,9 @@ type User struct {
EncryptedOTPSecretSalt string
OTPRequiredForLogin bool
OTPBackupCodes []string
- ConsumedTimestamp int
- RememberToken string
- SignInToken string
- SignInTokenSentAt time.Time `pg:"type:timestamp"`
- WebauthnID string
+ ConsumedTimestamp int
+ RememberToken string
+ SignInToken string
+ SignInTokenSentAt time.Time `pg:"type:timestamp"`
+ WebauthnID string
}