Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Aug 15, 2024
1 parent 577b0cc commit 9b7e2c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/database/models/user_subscription_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl UserSubscriptionItem {
SET interval = EXCLUDED.interval,
expires = EXCLUDED.expires,
last_charge = EXCLUDED.last_charge,
status = EXCLUDED.status
status = EXCLUDED.status,
price_id = EXCLUDED.price_id
",
self.id.0,
Expand Down
1 change: 0 additions & 1 deletion src/routes/internal/billing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,6 @@ pub async fn initiate_payment(
interval.as_str().to_string(),
);
}

update_payment_intent.metadata = Some(metadata);

if let PaymentRequestType::PaymentMethod { .. } = payment_request.type_ {
Expand Down

0 comments on commit 9b7e2c8

Please sign in to comment.