From 6430a6538f24b1d0e2d6ab0424d85cdccc85f232 Mon Sep 17 00:00:00 2001 From: Alireza Yavari Date: Mon, 7 Dec 2020 10:25:37 +0330 Subject: [PATCH] StepController.Post() - Change 'async void' to 'async Task' --- src/Conductor/Controllers/StepController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Conductor/Controllers/StepController.cs b/src/Conductor/Controllers/StepController.cs index 05c7e57..cbf1a5f 100644 --- a/src/Conductor/Controllers/StepController.cs +++ b/src/Conductor/Controllers/StepController.cs @@ -42,7 +42,7 @@ public IActionResult Get(string name) [HttpPost("{name}")] [Authorize(Policy = Policies.Author)] - public async void Post(string name) + public async Task Post(string name) { using (var sr = new StreamReader(Request.Body)) {