Commit 83c61e06 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix view loader.

parent 5d29fb56
Pipeline #34291 passed with stages
in 2 minutes and 14 seconds
......@@ -63,7 +63,7 @@ def favicon():
)
app.add_url_rule('/v1/autodeploy', view_func=AutoDeploy.view_func)
app.add_url_rule('/v1/autodeploy', view_func=AutoDeploy.as_view('autodeploy'))
# If app is started with Flask
if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment