Skip to content

Commit

Permalink
Hotfix intent cart relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Jan 27, 2025
1 parent 11261a9 commit 819b738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stripe/src/Models/StripePaymentIntent.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class StripePaymentIntent extends BaseModel

public function cart(): BelongsTo
{
return $this->belongsTo(Cart::class);
return $this->belongsTo(Cart::class, 'cart_id');
}
}

0 comments on commit 819b738

Please sign in to comment.