aboutsummaryrefslogtreecommitdiff
path: root/users.go
diff options
context:
space:
mode:
Diffstat (limited to 'users.go')
-rw-r--r--users.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/users.go b/users.go
index 3f57a35..2b529f3 100644
--- a/users.go
+++ b/users.go
@@ -15,7 +15,7 @@ import (
func (s *Server) addUserSSH(ctx context.Context, pubkey string) (userID int, err error) {
var txn pgx.Tx
- if txn, err = s.Database.Begin(ctx); err != nil {
+ if txn, err = s.database.Begin(ctx); err != nil {
return
}
defer func() {