Make Http client path consistent

This commit is contained in:
Peter Stockings
2025-07-21 23:29:17 +10:00
parent f55f50d0dc
commit 6891ce5661

View File

@@ -199,7 +199,7 @@ def logs(function_id):
return render_block(environment, 'dashboard/http_functions/logs.html', 'page', user_id=user_id, function_id=function_id, name=name, http_function_invocations=http_function_invocations)
return render_template("dashboard/http_functions/logs.html", user_id=user_id, name=name, function_id=function_id, http_function_invocations=http_function_invocations)
@http.route("/<int:function_id>/client", methods=["GET"])
@http.route("/client/<int:function_id>", methods=["GET"])
@login_required
def client(function_id):
user_id = current_user.id