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

Function createSecret

app/core/api/api-clients.js:12–18  ·  view source on GitHub ↗
({ clientID }, options)

Source from the content-addressed store, hash-verified

10
11module.exports = {
12 createSecret ({ clientID }, options) {
13 if (options == null) { options = {} }
14 return fetchJson(`/db/api-clients/${clientID}/new-secret`, _.assign({}, {
15 method: 'POST',
16 json: options
17 }))
18 },
19
20 createAutoClanOwner ({ clientID }, options) {
21 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected