Skip to content

Commit

Permalink
Update ProductService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dyfero authored Mar 21, 2024
1 parent aec5ecc commit a83b1e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Services/ProductService.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ public function cancelActiveRecursiveProduct(Product $product, User $user): void
ProductUser::query()
->where('user_id', $user->getKey())
->where('product_id', $product->getKey())
->whereRelation('product', 'recursive', '=', true)
->where('status', SubscriptionStatus::ACTIVE)
->update(['status' => SubscriptionStatus::CANCELLED]);
}
Expand Down

0 comments on commit a83b1e3

Please sign in to comment.