mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
refactor: use 1GetAwaiter().GetResult() instead of Wait()`
This commit is contained in:
parent
0b178ca264
commit
eeb1e22e60
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ namespace PepperDash.Core.Web.RequestHandlers
|
|||
|
||||
var handlerTask = handler(context);
|
||||
|
||||
handlerTask.Wait();
|
||||
handlerTask.GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue