Changed route name to assignment
This commit is contained in:
parent
ccfce10ffa
commit
9f4504b5b8
@ -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)
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env python3
|
||||
from .report_view import ReportView
|
||||
from .assignment_view import AssignmentView
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user