refactor: remove unused normalizeProfileName function

This commit is contained in:
fabio
2026-09-19 12:03:32 +02:00
parent a0b65a4506
commit a051eef991

View File

@@ -232,10 +232,6 @@ func requireSelf(userID uuid.UUID) error {
return nil return nil
} }
func normalizeProfileName(value string) string {
return normalizeText(value)
}
// isUniqueViolation reports whether err is a Postgres unique constraint violation. // isUniqueViolation reports whether err is a Postgres unique constraint violation.
func isUniqueViolation(err error) bool { func isUniqueViolation(err error) bool {
var pgErr *pgconn.PgError var pgErr *pgconn.PgError