chore(auth): #331 add session test
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 44s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 44s
This commit is contained in:
@@ -343,6 +343,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)
|
||||
return nil, ErrNotFound
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user