MCPcopy 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

shouldSeePromotionMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected