Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/21st-dev/1code
/ setSubscriptionPlan
Function
setSubscriptionPlan
src/main/lib/analytics.ts:97–99 ·
view source on GitHub ↗
(plan: string)
Source
from the content-addressed store, hash-verified
95
* Set subscription plan (called after fetching from API)
96
*/
97
export
function
setSubscriptionPlan(plan: string) {
98
cachedSubscriptionPlan = plan
99
}
100
101
/**
102
* Set connection method (called from renderer via IPC)
Callers
1
handleAuthCode
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected