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

Function getByName

app/core/api/api-clients.js:28–33  ·  view source on GitHub ↗
(clientName, options)

Source from the content-addressed store, hash-verified

26 },
27
28 getByName (clientName, options) {
29 if (options == null) { options = {} }
30 if (options.data == null) { options.data = {} }
31 options.data.name = clientName
32 return fetchJson('/db/api-clients/name', options)
33 },
34
35 getAll (options) {
36 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected