From 932f2bdda6f19189c359b7e41f22415df25d775d Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Mon, 24 Jun 2024 09:12:36 +0100 Subject: [PATCH] wrong validation on hp endpoint --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')