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

Function getUserCredits

app/core/api/users.js:236–240  ·  view source on GitHub ↗
(operation)

Source from the content-addressed store, hash-verified

234 })
235 },
236 getUserCredits (operation) {
237 return fetchJson(`/db/user-credits/${operation}`, _.assign({}, {
238 method: 'GET'
239 }))
240 },
241 getLowUsageData (userId, options) {
242 return fetchJson(`/db/users/${userId}/low-usage-data`, options)
243 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected