fix response
This commit is contained in:
3
Main.cs
3
Main.cs
@@ -25,9 +25,10 @@ namespace bundlephobia
|
||||
[FunctionName("Main")]
|
||||
public static async Task Run(
|
||||
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] SlackRequest req,
|
||||
HttpResponse response,
|
||||
HttpRequest httpReq,
|
||||
ILogger log)
|
||||
{
|
||||
var response = httpReq.HttpContext.Response;
|
||||
response.StatusCode = 200;
|
||||
response.Clear();
|
||||
try
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26124.0
|
||||
MinimumVisualStudioVersion = 15.0.26124.0
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bundlephobia", "bundlephobia.csproj", "{E1ADE89D-A9A2-4695-9D00-C966F47777AF}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|x64.Build.0 = Release|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E1ADE89D-A9A2-4695-9D00-C966F47777AF}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Reference in New Issue
Block a user