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();
[FunctionName("Main")]
public static async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] SlackRequest req,
public static async Task Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] SlackRequest req,
HttpResponse response,
ILogger log)
{