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

Function getLicenseStats

app/core/api/api-clients.js:69–78  ·  view source on GitHub ↗
(clientID, param, options)

Source from the content-addressed store, hash-verified

67 },
68
69 getLicenseStats (clientID, param, options) {
70 if (param == null) { param = {} }
71 const { startDate, endDate } = param
72 if (options == null) { options = {} }
73 let url = `/db/api-clients/${clientID}/license-stats`
74 if (startDate && endDate) {
75 url = `${url}?start-date=${startDate}&end-date=${endDate}`
76 }
77 return fetchJson(url, options)
78 },
79
80 getPlayTimeStats (options) {
81 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected