Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from justaprogrammer/minor-feedback
Browse files Browse the repository at this point in the history
Need to see the response for debugging purposes
  • Loading branch information
StanleyGoldman authored Nov 2, 2018
2 parents 5b2ed4d + 8541893 commit c21cbf2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ before_build:
- ps: gitversion /output buildserver
build_script:
- ps: >-
fake run Build.fsx -p 3
fake run Build.fsx
test: off
2 changes: 2 additions & 0 deletions src/BCC.Submission/BCC.Submission.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.1;net471</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>BCCSubmission</AssemblyName>
<StartupObject>BCC.Submission.Program</StartupObject>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/BCC.Submission/Services/SubmissionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public async Task<bool> SubmitAsync(string inputFile, string token, string headS
var restResponse = await _restClient.ExecutePostTaskAsync(request)
.ConfigureAwait(false);

Console.WriteLine("Response: {0}", restResponse.StatusCode.ToString());

return restResponse.StatusCode == HttpStatusCode.OK;
}
}
Expand Down

0 comments on commit c21cbf2

Please sign in to comment.