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

Function fetchByRecipient

app/core/api/payment.js:4–9  ·  view source on GitHub ↗
(recipientId, opts)

Source from the content-addressed store, hash-verified

2
3module.exports = {
4 fetchByRecipient (recipientId, opts) {
5 if (opts == null) { opts = {} }
6 if (opts.data == null) { opts.data = {} }
7 opts.data.recipient = recipientId
8 return fetchJson('/db/payment', opts)
9 }
10}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected