@@ -62,7 +62,7 @@ describe('MagicLinkEmailStrategy', () => {
6262 const email = '[email protected] ' ; 6363
6464 const magicLink =
65- 'http://localhost/api/ v1/auth/magic-link/callback?token=test_token' ;
65+ 'http://localhost/v1/auth/magic-link/callback?token=test_token' ;
6666
6767 const user = { username : 'testuser' , email } ;
6868
@@ -80,7 +80,7 @@ describe('MagicLinkEmailStrategy', () => {
8080 to : email ,
8181 context : {
8282 magicLink :
83- 'http://localhost/api/ v1/auth/magic-link/callback?token=test_token' ,
83+ 'http://localhost/v1/auth/magic-link/callback?token=test_token' ,
8484 username : 'testuser' ,
8585 } ,
8686 subject : 'Noteblock Magic Link' ,
@@ -92,7 +92,7 @@ describe('MagicLinkEmailStrategy', () => {
9292 const email = '[email protected] ' ; 9393
9494 const magicLink =
95- 'http://localhost/api/ v1/auth/magic-link/callback?token=test_token' ;
95+ 'http://localhost/v1/auth/magic-link/callback?token=test_token' ;
9696
9797 const user = { username : 'testuser' , email } ;
9898
@@ -111,7 +111,7 @@ describe('MagicLinkEmailStrategy', () => {
111111 to : email ,
112112 context : {
113113 magicLink :
114- 'http://localhost/api/ v1/auth/magic-link/callback?token=test_token' ,
114+ 'http://localhost/v1/auth/magic-link/callback?token=test_token' ,
115115 username : 'testuser' ,
116116 } ,
117117 subject : 'Welcome to Noteblock.world' ,
0 commit comments