MCPcopy Create free account
hub / github.com/codecombat/codecombat / getLeadPriority

Method getLeadPriority

app/models/User.js:1179–1183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1177
1178 // TODO: Probably better to denormalize this into the user
1179 getLeadPriority () {
1180 const request = $.get('/db/user/-/lead-priority')
1181 request.then(({ priority }) => application.tracker.identify({ priority }))
1182 return request
1183 }
1184
1185 becomeStudent (options = {}) {
1186 options.url = '/db/user/-/become-student'

Callers 2

constructorMethod · 0.80
constructorMethod · 0.80

Calls 2

getMethod · 0.45
identifyMethod · 0.45

Tested by

no test coverage detected