From a7f515bc335b82e7378b72a305b745f4b6104bcd Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Mon, 21 Jul 2025 22:16:23 -0700 Subject: [PATCH] fix bad await --- src/Server/Controllers/PaymentController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server/Controllers/PaymentController.cs b/src/Server/Controllers/PaymentController.cs index 31e0537..f4c24c1 100755 --- a/src/Server/Controllers/PaymentController.cs +++ b/src/Server/Controllers/PaymentController.cs @@ -28,7 +28,7 @@ namespace BoredCareers.Controllers { public async Task paymentWebhook() { try { string body = await new StreamReader(Request.Body).ReadToEndAsync(); - await _paymentService.ValidatePurchase(body, Request.Headers["Stripe-Signature"].ToString()); + _paymentService.ValidatePurchase(body, Request.Headers["Stripe-Signature"].ToString()); return Ok(); } catch (Exception ex) { return NotFound(ex.ToString());