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

Method removeRelatedAccount

app/models/User.js:1299–1305  ·  view source on GitHub ↗
(relatedUserId, options = {})

Source from the content-addressed store, hash-verified

1297 }
1298
1299 removeRelatedAccount (relatedUserId, options = {}) {
1300 options.url = '/db/user/related-accounts'
1301 options.type = 'DELETE'
1302 if (options.data == null) { options.data = {} }
1303 options.data.userId = relatedUserId
1304 return this.fetch(options)
1305 }
1306
1307 linkRelatedAccount (body, options = {}) {
1308 options.url = '/db/user/related-accounts'

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected