Skip to content

Commit d4db44f

Browse files
authored
change "anonymous" back to func.AuthLevel.ANONYMOUS constant
1 parent ec32bc5 commit d4db44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/functions-add-output-binding-azure-sql-vs-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ import uuid
228228
app = func.FunctionApp()
229229

230230
@app.function_name(name="HttpTrigger1")
231-
@app.route(route="hello", auth_level="anonymous")
231+
@app.route(route="hello", auth_level=func.AuthLevel.ANONYMOUS)
232232
@app.generic_output_binding(arg_name="toDoItems", type="sql", CommandText="dbo.ToDo", ConnectionStringSetting="SqlConnectionString",data_type=DataType.STRING)
233233
def test_function(req: func.HttpRequest, toDoItems: func.Out[func.SqlRow]) -> func.HttpResponse:
234234
logging.info('Python HTTP trigger function processed a request.')

0 commit comments

Comments
 (0)