From 3754f7da0dd29e46ea26e0d42a987acb8e091778 Mon Sep 17 00:00:00 2001 From: kelly5454 <165174018+kelly5454@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:08:39 +0800 Subject: [PATCH] fix: exchange gift card type error --- app/Services/GiftCardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/GiftCardService.php b/app/Services/GiftCardService.php index c2ac339..8f14cbe 100644 --- a/app/Services/GiftCardService.php +++ b/app/Services/GiftCardService.php @@ -173,7 +173,7 @@ class GiftCardService $userService->assignPlan( $this->user, $plan, - $rewards['plan_validity_days'] ?? null + $rewards['plan_validity_days'] ?? 0 ); } } else {