MCPcopy Index your code
hub / github.com/codecombat/codecombat / fetchBySlug

Method fetchBySlug

app/collections/CodeLogs.js:27–31  ·  view source on GitHub ↗
(slug, options)

Source from the content-addressed store, hash-verified

25 }
26
27 fetchBySlug (slug, options) {
28 if (options == null) { options = {} }
29 options.url = '/db/codelogs?filter[levelSlug]="' + slug + '"'
30 return this.fetch(options)
31 }
32
33 fetchLatest (options) {
34 if (options == null) { options = {} }

Callers 1

onLevelSlugInputMethod · 0.80

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected