mirror of
https://github.com/LukeHagar/polar.git
synced 2025-12-09 12:47:46 +00:00
deprecate checkoutApi, avoid breaking
This commit is contained in:
@@ -64,7 +64,7 @@ export const {
|
||||
|
||||
// Cancels the current subscription.
|
||||
cancelCurrentSubscription,
|
||||
} = polar.checkoutApi();
|
||||
} = polar.api();
|
||||
|
||||
// In a real app you'll set up authentication, we just use a
|
||||
// fake user for the example.
|
||||
|
||||
Reference in New Issue
Block a user