Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ getSeenPromotion
Method
getSeenPromotion
app/models/User.js:828–831 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
826
}
827
828
getSeenPromotion (key) {
829
const
seenPromotions = this.get(
'seenPromotions'
) || {}
830
return
seenPromotions[key]
831
}
832
833
shouldSeeManualPromotion (key) {
834
if
(!key) {
Callers
2
shouldSeeManualPromotion
Method · 0.95
shouldSeePromotion
Method · 0.95
Calls
1
get
Method · 0.95
Tested by
no test coverage detected