@@ -376,10 +376,6 @@ const validateCallback = async () => {
376
376
" Authorization" : ` Bearer ${token } ` ,
377
377
" x-publishable-api-key" : process .env .NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || " temp" ,
378
378
},
379
- body: JSON .stringify ({
380
- // TODO show form to retrieve email from customer
381
-
382
- }),
383
379
}
384
380
).then ((res ) => res .json ())
385
381
}
@@ -419,10 +415,6 @@ const validateCallback = async () => {
419
415
" Authorization" : ` Bearer ${token } ` ,
420
416
" x-publishable-api-key" : process .env .NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || " temp" ,
421
417
},
422
- body: JSON .stringify ({
423
- // TODO show form to retrieve email from customer
424
-
425
- }),
426
418
}
427
419
).then ((res ) => res .json ())
428
420
@@ -537,10 +529,6 @@ const validateCallback = async () => {
537
529
" Authorization" : ` Bearer ${token } ` ,
538
530
" x-publishable-api-key" : process .env .NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || " temp" ,
539
531
},
540
- body: JSON .stringify ({
541
- // TODO show form to retrieve email from customer
542
-
543
- }),
544
532
}
545
533
).then ((res ) => res .json ())
546
534
}
@@ -635,10 +623,6 @@ export default function GoogleCallback() {
635
623
" Authorization" : ` Bearer ${token } ` ,
636
624
" x-publishable-api-key" : process .env .NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || " temp" ,
637
625
},
638
- body: JSON .stringify ({
639
- // TODO show form to retrieve email from customer
640
-
641
- }),
642
626
}
643
627
).then ((res ) => res .json ())
644
628
0 commit comments