MCPcopy Index your code
hub / github.com/codecombat/codecombat / findCourseProduct

Method findCourseProduct

app/models/User.js:956–958  ·  view source on GitHub ↗
(prepaidId)

Source from the content-addressed store, hash-verified

954 }
955
956 findCourseProduct (prepaidId) {
957 return _.find(this.activeProducts('course'), p => (p.prepaid + '') === (prepaidId + ''))
958 }
959
960 fetchCreatorOfPrepaid (prepaid) {
961 return this.fetch({ url: `/db/prepaid/${prepaid.id}/creator` })

Callers

nothing calls this directly

Calls 1

activeProductsMethod · 0.95

Tested by

no test coverage detected