From 2a6848c679df7b3b39c275c0041fc5f8e02334f1 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Thu, 28 Nov 2024 02:53:07 +0100
Subject: Bump Expo SDK 52

---
 app/(tabs)/index.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'app/(tabs)/index.tsx')

diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx
index f4ff0ea..d6b970b 100644
--- a/app/(tabs)/index.tsx
+++ b/app/(tabs)/index.tsx
@@ -348,7 +348,7 @@ export default function HomeScreen() {
       }
 
       const response = await fetch(
-        `${process.env.EXPO_PUBLIC_API_URL}`,
+        `${process.env.EXPO_PUBLIC_API_URL}/graphql`,
         {
           method: "POST",
           headers: {
@@ -359,7 +359,7 @@ export default function HomeScreen() {
             query: `
             mutation NewPosition($input: PositionInput!) {
               newPosition(input: $input) {
-                id userId createdAt latitude longitude movingActivity
+                id
               }
             }
             `,
-- 
cgit v1.2.3-18-g5258

