wip: write tests
Some checks failed
Build Docker Image / Build-Docker-Image (push) Failing after 3m49s

This commit is contained in:
2025-05-09 17:09:03 +02:00
parent 328a9aa7e0
commit b760fc0fdf
3 changed files with 173 additions and 2 deletions

View File

@@ -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
}