diff --git a/function_app.py b/function_app.py index 1691326..8db8680 100644 --- a/function_app.py +++ b/function_app.py @@ -26,7 +26,6 @@ def index(): @app.route("/encrypt", methods=["POST"]) -@app.function_name("encrypt") def encrypt(): logger.info("Received request to encrypt endpoint.") @@ -59,7 +58,6 @@ def encrypt(): @app.route("/decrypt", methods=["POST"]) -@app.function_name("decrypt") def decrypt(): logger.info("Received request to decrypt endpoint.") @@ -91,4 +89,4 @@ def decrypt(): return jsonify(response) -app = func.WsgiFunctionApp(app=app.wsgi_app, http_auth_level=func.AuthLevel.ANONYMOUS) \ No newline at end of file +app = func.WsgiFunctionApp(app=app.wsgi_app, http_auth_level=func.AuthLevel.ANONYMOUS)