We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df83834 commit 7d4612bCopy full SHA for 7d4612b
internal/session/dbconv.go
@@ -43,7 +43,7 @@ func ConvertSessionToStoreParams(session *Session) (*postgresql.StoreSessionPQPa
43
Username: session.Username,
44
Ip: pgtype.Text{String: session.IP, Valid: true},
45
UserAgent: pgtype.Text{String: session.UserAgent, Valid: true},
46
- Status: status,
+ Status: string(session.Status),
47
CreatedAt: createdAt,
48
LastActiveAt: lastActiveAt,
49
Expiry: expiry,
0 commit comments