refactor: remove unused normalizeProfileName function
This commit is contained in:
@@ -232,10 +232,6 @@ func requireSelf(userID uuid.UUID) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func normalizeProfileName(value string) string {
|
||||
return normalizeText(value)
|
||||
}
|
||||
|
||||
// isUniqueViolation reports whether err is a Postgres unique constraint violation.
|
||||
func isUniqueViolation(err error) bool {
|
||||
var pgErr *pgconn.PgError
|
||||
|
||||
Reference in New Issue
Block a user