updated shipping for global

This commit is contained in:
franknstayn
2023-09-06 20:43:41 +08:00
parent adf50d9d69
commit e1cf0dc676

View File

@@ -840,7 +840,7 @@ class TeamStoreController extends Controller
} }
} }
if ($getVoucher[0]->VoucherType === "Shipping") { if ($getVoucher[0]->VoucherType === "Shipping" && $getVoucher[0]->UserId != null) {
if (Auth::guest()) { if (Auth::guest()) {
return response()->json(array( return response()->json(array(