Merge pull request 'change card service file' (#18) from main into testing
All checks were successful
CityCards-Website / Build-CityCards-Website (push) Successful in 23s
All checks were successful
CityCards-Website / Build-CityCards-Website (push) Successful in 23s
Reviewed-on: #18
This commit is contained in:
@@ -52,9 +52,8 @@ export const cardsApi = createApi({
|
||||
|
||||
confirmCardPayment: builder.mutation({
|
||||
query: (payload: { id: string; checkoutSessionId: string }) => ({
|
||||
url: `/website/passes/${payload.id}/confirm-payment`,
|
||||
url: `/website/passes/${payload.id}/confirm-payment/${payload.checkoutSessionId}`,
|
||||
method: "POST",
|
||||
body: { checkoutSessionId: payload.checkoutSessionId },
|
||||
}),
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user