aboutsummaryrefslogtreecommitdiffstats
path: root/pysite
diff options
context:
space:
mode:
Diffstat (limited to 'pysite')
-rw-r--r--pysite/base_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/base_route.py b/pysite/base_route.py
index 65007fcb..04694186 100644
--- a/pysite/base_route.py
+++ b/pysite/base_route.py
@@ -26,7 +26,7 @@ class RouteView(BaseView):
blueprint.add_url_rule(cls.path, view_func=cls.as_view(cls.name))
-class APIView(BaseView):
+class APIView(RouteView):
def error(self, error_code: ErrorCodes):
data = {
"error_code": error_code.value,