Skip to content

Commit 0202ae8

Browse files
author
Raj Chourasia
committed
Fixing addProvider function. 'authProviders' variable was not getting updated
1 parent 7861072 commit 0202ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native-oauth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class OAuthManager {
3030
}
3131

3232
addProvider(provider) {
33-
Object.assign({}, authProviders, provider);
33+
Object.assign(authProviders, provider);
3434
}
3535

3636
configure(providerConfigs) {

0 commit comments

Comments
 (0)