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

Function addAction

app/core/api/low-usage-users.js:7–12  ·  view source on GitHub ↗
({ lowUsageUserId, action }, options = {})

Source from the content-addressed store, hash-verified

5 return fetchJson('/db/low-usage-users?withPrepaids=true')
6 },
7 addAction ({ lowUsageUserId, action }, options = {}) {
8 return fetchJson(`/db/low-usage-users/${lowUsageUserId}/action`, _.assign({}, options, {
9 method: 'POST',
10 json: { action }
11 }))
12 }
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected