fix: дубликат username теперь дает 500
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
|
||||
"github.com/jackc/pgx/v5/pgconn"
|
||||
"github.com/jackc/pgerrcode"
|
||||
"github.com/jackc/pgx/v5/pgconn"
|
||||
)
|
||||
|
||||
// AddContact creates a contact relation or returns ErrDuplicate if it exists.
|
||||
|
||||
Reference in New Issue
Block a user