Просмотр исходного кода

fix: correct phone_numbers column names in API stores endpoint #65

Claude 5 месяцев назад
Родитель
Сommit
d419825bd7
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      supabase/functions/api/index.ts

+ 4 - 2
supabase/functions/api/index.ts

@@ -65,7 +65,8 @@ serve(async (req) => {
           phone_numbers (
           phone_numbers (
             id,
             id,
             phone_number,
             phone_number,
-            country,
+            country_code,
+            country_name,
             location,
             location,
             phone_type,
             phone_type,
             price
             price
@@ -80,7 +81,8 @@ serve(async (req) => {
           phone_numbers (
           phone_numbers (
             id,
             id,
             phone_number,
             phone_number,
-            country,
+            country_code,
+            country_name,
             location,
             location,
             phone_type,
             phone_type,
             price
             price