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

Function putUserProducts

app/core/api/users.js:195–201  ·  view source on GitHub ↗
(json, options)

Source from the content-addressed store, hash-verified

193 },
194
195 putUserProducts (json, options) {
196 if (options == null) { options = {} }
197 return fetchJson('/db/user/products', _.assign({}, options, {
198 method: 'PUT',
199 json
200 }))
201 },
202
203 getRelatedAccount ({ userId }) {
204 return fetchJson(`/db/user/related-accounts/${userId}`, _.assign({}, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected