Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ createPortalSession
Method
createPortalSession
frontend/src/lib/api/userService.ts:104–106 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
}
103
104
async
createPortalSession(): Promise<{ url: string }> {
105
return
apiClient.post(
'/subscriptions/create-portal-session'
);
106
}
107
108
async
cancelSubscription(): Promise<any> {
109
return
apiClient.post(
'/subscriptions/cancel'
);
Callers
nothing calls this directly
Calls
1
post
Method · 0.80
Tested by
no test coverage detected