Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
public class TransactionMobileLoggingController : ControllerBase
{
[HttpPost]
public async Task<IActionResult> PostConfiguration([FromBody] List<LogMessage> logMessages,

Check warning on line 14 in MobileConfiguration/Controllers/TransactionMobileLoggingController.cs

View workflow job for this annotation

GitHub Actions / Build and Test Pull Requests

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
CancellationToken cancellationToken) {

Logger.LogInformation(JsonConvert.SerializeObject(logMessages));

// TODO: return "correct" response...
return this.Ok();
}
}
Loading