Sync shared snapshot from db733a6
Docker / Docker Build & Push (push) Successful in 3m20s

This commit is contained in:
Gabriel20xx committed 2026-09-01 21:51:45 +02:00
1 parent 94f7a794d8
commit ec4bdd6ac7
2 files changed
+105 -1

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ func (s *Store) validate() error {
func (s *Store) find(ctx context.Context, query string, arg any) (*User, error) {
var user User
err := s.pool.QueryRow(ctx, query, arg).Scan(
&user.ID, &user.Username, &user.Email, &user.PasswordHash, &user.CreatedAt, &user.UpdatedAt,
&user.ID, &user.Username, &user.Email, &user.PasswordHash, &user.Role, &user.CreatedAt, &user.UpdatedAt,
)
if errors.Is(err, pgx.ErrNoRows) {
return nil, nil