This commit is contained in:
tparnell
2019-07-19 16:56:36 -04:00
parent d67ab7a6f8
commit 178703eb13

View File

@@ -23,8 +23,8 @@ namespace bundlephobia
{ {
static HttpClient Client = new HttpClient(); static HttpClient Client = new HttpClient();
[FunctionName("Main")] [FunctionName("Main")]
public static async Task<IActionResult> Run( public static async Task Run(
[HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] SlackRequest req, [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] SlackRequest req,
HttpResponse response, HttpResponse response,
ILogger log) ILogger log)
{ {