(options)
| 3 | module.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 } }) |
nothing calls this directly
no outgoing calls
no test coverage detected