Skip to content

Commit

Permalink
Merge pull request #1048 from brave/master
Browse files Browse the repository at this point in the history
Production Release 2024-02-01
  • Loading branch information
IanKrieger authored Feb 1, 2024
2 parents 1a1ea2f + 471123b commit fbbf028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/checkout/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export async function createPaymentSession(
advertiserId: string,
campaignId: string,
): Promise<string> {
const res = await fetch(buildAdServerEndpoint("/ads/checkout-session"), {
const res = await fetch(buildAdServerEndpoint("/payments/checkout-session"), {
method: "POST",
mode: "cors",
credentials: "include",
Expand All @@ -30,7 +30,7 @@ export async function fetchPaymentSession(
campaignId: string,
sessionId: string | null,
): Promise<void> {
let baseUrl = `/ads/checkout-session?referenceId=${campaignId}`;
let baseUrl = `/payments/checkout-session?referenceId=${campaignId}`;
if (sessionId) {
baseUrl = `${baseUrl}&sessionId=${sessionId}`;
}
Expand Down

0 comments on commit fbbf028

Please sign in to comment.