|
|
@@ -74,9 +74,9 @@ export function ShopifyConnect({ onClose }: ShopifyConnectProps) {
|
|
|
|
|
|
const session = JSON.parse(sessionData);
|
|
|
|
|
|
- // Call the OAuth initiation Edge Function with phone_number_id
|
|
|
+ // Call the OAuth initiation Edge Function with phoneNumberId
|
|
|
const response = await fetch(
|
|
|
- `${API_URL}/oauth-shopify?action=init&shop=${encodeURIComponent(normalizedDomain)}&phone_number_id=${encodeURIComponent(phoneNumberId)}`,
|
|
|
+ `${API_URL}/oauth-shopify?action=init&shop=${encodeURIComponent(normalizedDomain)}&phoneNumberId=${encodeURIComponent(phoneNumberId)}`,
|
|
|
{
|
|
|
method: 'GET',
|
|
|
headers: {
|