Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ hasTemporaryPremiumAccess
Function
hasTemporaryPremiumAccess
app/lib/paymentUtils.js:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
}
8
9
function
hasTemporaryPremiumAccess() {
10
return
storage.load(`${TEMPORARY_PREMIUM_KEY}-${me.get(
'_id'
)}`)
11
}
12
13
function
setTrackedPremiumPurchase() {
14
storage.save(`${TRACKED_PREMIUM}-${me.get(
'_id'
)}`, true, 6 * 60)
Callers
nothing calls this directly
Calls
2
load
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected