diff --git a/app.py b/app.py index f2787c9..4bdc475 100644 --- a/app.py +++ b/app.py @@ -86,7 +86,7 @@ class RollHP(Resource): @hp.expect(hp_model) def post(self): data = api.payload - errors = ability_schema.validate(data) + errors = hp_schema.validate(data) if errors: return errors, 400 chartype = data.get('chartype')