From 0f176fc5cfa2b5d0fe04860807b603540853428e Mon Sep 17 00:00:00 2001 From: dannykng Date: Mon, 17 Oct 2022 17:41:29 -0700 Subject: [PATCH] Update sendMobileOTP() redirect --- apps/www/lib/redirects.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js index c4b560446cc..bed6e889a50 100644 --- a/apps/www/lib/redirects.js +++ b/apps/www/lib/redirects.js @@ -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