-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
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
Fixed Jobs SDK bugs #1456
Fixed Jobs SDK bugs #1456
Conversation
…Time property and not Schedule Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
await context.Request.Body.CopyToAsync(memoryStream, cancellationToken); | ||
payload = memoryStream.ToArray(); | ||
using var streamContent = new StreamContent(context.Request.Body); | ||
payload = await streamContent.ReadAsByteArrayAsync(cancellationToken); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should work just as well, though I was specifically thinking of (I think) context.Request.Body.ReadAsByteArrayAsync()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, whoops. For some reason, Intellisense isn't showing that as an option - I'll have to look into why.
Description
Fixed reported bugs at #1455 and #1457
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1455
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: