Skip to content

Commit

Permalink
Merge pull request #498 from 0xPolygonID/PID-1374-issuer-node-check-i…
Browse files Browse the repository at this point in the history
…f-version-is-mandatory-when-importing-schemas

chore: removing version verification when importing schema
  • Loading branch information
javip97 authored Oct 5, 2023
2 parents 002e466 + e4ed8e4 commit 48c1e70
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/api_ui/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ func guardImportSchemaReq(req *ImportSchemaJSONRequestBody) error {
if strings.TrimSpace(req.SchemaType) == "" {
return errors.New("empty type")
}
if strings.TrimSpace(req.Version) == "" {
return errors.New("empty version")
}
if _, err := url.ParseRequestURI(req.Url); err != nil {
return fmt.Errorf("parsing url: %w", err)
}
Expand Down

0 comments on commit 48c1e70

Please sign in to comment.