Update sendMobileOTP() redirect

This commit is contained in:
dannykng committed 2022-10-17 17:41:29 -07:00
1 parent 26b05ace5f
commit 0f176fc5cf
1 file changed
+3 -3
+3 -3
View File
@@ -1451,12 +1451,12 @@ module.exports = [
source: '/docs/reference/javascript/auth-session',
destination: '/docs/reference/javascript/v1/auth-session',
},
// Removed sendMobileOTP in favor of signInWithOtp
// send traffic to new v2 docs instead
// v1: /auth-api-sendmobileotp
// v2: /auth-signinwithotp
{
permanent: true,
source: '/docs/reference/javascript/auth-api-sendmobileotp',
destination: '/docs/reference/javascript/auth-signinwithotp',
destination: '/docs/reference/javascript/v1/auth-api-sendmobileotp',
},
// realtime methods been replaced with new names