feat(account): #49 include tests
This commit was merged in pull request #61.
This commit is contained in:
@@ -338,7 +338,7 @@ func (db AuthSqlite) GetSession(sessionId string) (*types.Session, error) {
|
||||
WHERE session_id = ?`, sessionId).Scan(&userId, &createdAt, &expiresAt)
|
||||
|
||||
if err != nil {
|
||||
log.Warn("Session not found: %v", err)
|
||||
log.Warn("Session \"%s\" not found: %v", sessionId, err)
|
||||
return nil, ErrNotFound
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user