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

Function getByOriginal

app/core/api/levels.js:15–18  ·  view source on GitHub ↗
(original, options)

Source from the content-addressed store, hash-verified

13
14module.exports = {
15 getByOriginal (original, options) {
16 if (options == null) { options = {} }
17 return fetchJson(`/db/level/${original}/version`, _.merge({}, options))
18 },
19
20 getByIdOrSlug (idOrSlug, options) {
21 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected