8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
import { sendRequest } from 'utils'
|
|
|
|
export const cancelSubscriptionQuery = (stripeId: string) =>
|
|
sendRequest({
|
|
url: `api/stripe/subscription?stripeId=${stripeId}`,
|
|
method: 'DELETE',
|
|
})
|