Skip to content

Commit

Permalink
Secure PredictionsHttpFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
romankr committed Dec 13, 2023
1 parent 4fb8f16 commit 520dd2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal class PredictionsHttpFunction(ILogger<PredictionsHttpFunction> logger)

[Function(nameof(PredictionsHttpFunction))]
public HttpResponseData Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post")]
[HttpTrigger(AuthorizationLevel.Admin, "get")]
HttpRequestData request,
[CosmosDBInput(
"%CosmosDb:Database%",
Expand Down

0 comments on commit 520dd2c

Please sign in to comment.