We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzUrlShortener/src/Cloud5mins.ShortenerTools.Functions/Functions/UrlUpdate.cs
Lines 114 to 116 in a1ec3ee
HttpStatusCode.BadRequest does not take effect after calling WriteAsJsonAsync.
HttpStatusCode.BadRequest
The text was updated successfully, but these errors were encountered:
Following https://github.com/Azure/azure-functions-dotnet-worker/blob/ebf8e680f6c84adbecb2a6e6cb77e80cf8b0a17f/samples/CustomMiddleware/ExceptionHandlingMiddleware.cs#L42-L46 , we should pass the status code in WriteAsJsonAsync method.
Sorry, something went wrong.
fix http status code (microsoft#498)
a0c1550
Signed-off-by: catcherwong <[email protected]>
Successfully merging a pull request may close this issue.
AzUrlShortener/src/Cloud5mins.ShortenerTools.Functions/Functions/UrlUpdate.cs
Lines 114 to 116 in a1ec3ee
HttpStatusCode.BadRequest
does not take effect after calling WriteAsJsonAsync.The text was updated successfully, but these errors were encountered: