Skip to content

Commit

Permalink
usage: fix name of delivery product for usage report
Browse files Browse the repository at this point in the history
  • Loading branch information
gioelecerati committed Jul 6, 2023
1 parent ba389ae commit f5591bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/controllers/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const reportUsage = async (req, adminToken) => {
action: "set",
}
);
} else if (product.name === "Streaming") {
} else if (product.name === "Delivery") {
await req.stripe.subscriptionItems.createUsageRecord(
subscriptionItemsByLookupKey["tstreaming_usage"],
{
Expand Down

0 comments on commit f5591bf

Please sign in to comment.