Skip to content

Commit

Permalink
Change auth_level typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-aguiar committed Apr 25, 2022
1 parent aafd082 commit bca60c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def return_http_404(req: func.HttpRequest):
return func.HttpResponse('bye', status_code=404)


@app.route(route="return_http_auth_admin", http_auth_level=func.AuthLevel.ADMIN)
@app.route(route="return_http_auth_admin", auth_level=func.AuthLevel.ADMIN)
def return_http_auth_admin(req: func.HttpRequest):
return func.HttpResponse('<h1>Hello World™</h1>',
mimetype='text/html')
Expand Down

0 comments on commit bca60c9

Please sign in to comment.