Skip to content

Commit bcb031c

Browse files
Fixed string type in dbconv
1 parent 024075e commit bcb031c

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
@@ -29,7 +29,7 @@ func ConvertSessionToStoreParams(session *Session) (*postgresql.StoreSessionPQPa
2929
}
3030

3131
return &postgresql.StoreSessionPQParams{
32-
ID: uuid.MustParse(session.ID),
32+
ID: uuid.MustParse(session.ID.String()),
3333
Username: session.Username,
3434
Ip: pgtype.Text{String: session.IP, Valid: true},
3535
UserAgent: pgtype.Text{String: session.UserAgent, Valid: true},

0 commit comments

Comments
 (0)