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

Function post

app/core/api/analytics-log-events.js:11–19  ·  view source on GitHub ↗
({ event, properties }, options)

Source from the content-addressed store, hash-verified

9
10module.exports = {
11 post ({ event, properties }, options) {
12 return fetchJson('/db/analytics.log.event/-/log_event', _.assign({}, options, {
13 method: 'POST',
14 json: {
15 event,
16 properties
17 }
18 }))
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected