Skip to content

Commit 7d4612b

Browse files
Updated for status
1 parent df83834 commit 7d4612b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/session/dbconv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func ConvertSessionToStoreParams(session *Session) (*postgresql.StoreSessionPQPa
4343
Username: session.Username,
4444
Ip: pgtype.Text{String: session.IP, Valid: true},
4545
UserAgent: pgtype.Text{String: session.UserAgent, Valid: true},
46-
Status: status,
46+
Status: string(session.Status),
4747
CreatedAt: createdAt,
4848
LastActiveAt: lastActiveAt,
4949
Expiry: expiry,

0 commit comments

Comments
 (0)