Changed route name to assignment

This commit is contained in:
Pünkösd Marcell 2021-12-10 22:02:30 +01:00
parent ccfce10ffa
commit 9f4504b5b8
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ from werkzeug.middleware.proxy_fix import ProxyFix
from utils import register_all_error_handlers, register_health_checks
# import views
from views import ReportView
from views import AssignmentView
from config import Config
@ -52,7 +52,7 @@ def initialize_tracer():
tracing = FlaskTracing(initialize_tracer, True, app)
# register views
for view in [ReportView]:
for view in [AssignmentView]:
view.register(app, trailing_slash=False)
register_health_checks(app)

View File

@ -1,2 +1,2 @@
#!/usr/bin/env python3
from .report_view import ReportView
from .assignment_view import AssignmentView

View File

@ -3,5 +3,5 @@ from flask import jsonify, request, abort, current_app, Response
from flask_classful import FlaskView
class ReportView(FlaskView):
class AssignmentView(FlaskView):
pass