From 72012983718a8d1f1d850e24e9af3a29fb20374a Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 1 Aug 2024 21:09:36 +0900
Subject: refactor: remove `player_id` parameter from `/api/games`

---
 frontend/app/routes/dashboard.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'frontend/app/routes/dashboard.tsx')

diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 3cc8e13..08780f9 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -17,9 +17,6 @@ export async function loader({ request }: LoaderFunctionArgs) {
   }
   const { data, error } = await apiClient.GET("/games", {
     params: {
-      query: {
-        player_id: user.user_id,
-      },
       header: {
         Authorization: `Bearer ${token}`,
       },
-- 
cgit v1.2.3-70-g09d2

