signinwith 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export const verifySigninDiscord = async (config, verificationData) => {
|
|
|
37
37
|
export default async function verifySignin (services, service, verificationData) {
|
|
38
38
|
try {
|
|
39
39
|
if (services.google && service === 'google') return await verifySigninGoogle(services.google, verificationData);
|
|
40
|
-
if (services.
|
|
40
|
+
if (services.facebook && service === 'facebook') return await verifySigninMeta(services.facebook, verificationData);
|
|
41
41
|
if (services.apple && service === 'apple') return await verifySigninApple(services.apple, verificationData);
|
|
42
42
|
if (services.discord && service === 'discord') return await verifySigninDiscord(services.discord, verificationData);
|
|
43
43
|
return { success: false, error: 'Unsupported service' };
|
package/package.json
CHANGED