Skip to content

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Oct 27, 2019

This is specifically for facebook since you can't register a auth provider in cloud code (FB doesn't exist).

Removes duplicate logic (linkWith handles the providers)

Cannot read property 'getAuthType' of undefined

Note: I can't add an integration test for this. I have tested and this works.
integration/tests uses /lib/node
integration/server.js uses /node_modules/parse (this doesn't have changes made in /lib/node)

This is specifically for facebook since you can't register a auth provider in cloud code (FB doesn't exist).

Removes duplicate logic (linkWith handles the providers)

```
Cannot read property 'getAuthType' of undefined
```

Note: I can't add an integration test for this.
`integration/server.js` uses /node_modules/parse
`integration/tests` uses /lib/node

If they could both use /lib/node that would open the door for testing different cloud code function.
@codecov
Copy link

codecov bot commented Oct 27, 2019

Codecov Report

Merging #971 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #971      +/-   ##
==========================================
- Coverage   91.88%   91.84%   -0.05%     
==========================================
  Files          54       54              
  Lines        5080     5078       -2     
  Branches     1143     1142       -1     
==========================================
- Hits         4668     4664       -4     
- Misses        412      414       +2
Impacted Files Coverage Δ
src/ParseUser.js 82.08% <100%> (-0.54%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 103f05e...34fc045. Read the comment docs.

Copy link
Member

@davimacedo davimacedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants