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

Function post

app/core/api/oauth2identity.js:5–11  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

3module.exports = {
4
5 post (options) {
6 if (options == null) { options = {} }
7 return fetchJson('/db/oauth2identity', _.assign({}, {
8 method: 'POST',
9 json: options,
10 }))
11 },
12
13 fetchForProviderAndUser (provider, userId) {
14 return fetchJson('/db/oauth2identity/by-user', { data: { userId, provider } })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected