Fix SQL updater func
This commit is contained in:
parent
d38909831c
commit
fea048b3e8
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ func (c *conn) UpdateOfflineSessions(userID string, connID string, updater func(
|
|||
connector_data = $2
|
||||
where user_id = $3 AND conn_id = $4;
|
||||
`,
|
||||
encoder(newSession.Refresh), s.ConnectorData, s.UserID, s.ConnID,
|
||||
encoder(newSession.Refresh), newSession.ConnectorData, s.UserID, s.ConnID,
|
||||
)
|
||||
if err != nil {
|
||||
return fmt.Errorf("update offline session: %v", err)
|
||||
|
|
Reference in a new issue