mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-17 05:34:48 +00:00
refactor: use 1GetAwaiter().GetResult() instead of Wait()`
This commit is contained in:
@@ -157,7 +157,7 @@ namespace PepperDash.Core.Web.RequestHandlers
|
|||||||
|
|
||||||
var handlerTask = handler(context);
|
var handlerTask = handler(context);
|
||||||
|
|
||||||
handlerTask.Wait();
|
handlerTask.GetAwaiter().GetResult();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user