Skip to content

Commit

Permalink
fix: do_validation call from blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
nickumia-reisys committed Oct 5, 2022
1 parent 13b45b0 commit d6f71b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datajson/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def validator():

if body:
try:
do_validation(body, c.errors, {})
do_validation(body['dataset'], c.errors, set())
except Exception as e:
c.errors.append(("Internal Error", ["Something bad happened: " + str(e)]))
if len(c.errors) == 0:
Expand Down

0 comments on commit d6f71b2

Please sign in to comment.