aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.server/api/schema.d.ts4
-rw-r--r--frontend/app/routes/dashboard.tsx3
2 files changed, 1 insertions, 6 deletions
diff --git a/frontend/app/.server/api/schema.d.ts b/frontend/app/.server/api/schema.d.ts
index 3ef97ab..1adfc86 100644
--- a/frontend/app/.server/api/schema.d.ts
+++ b/frontend/app/.server/api/schema.d.ts
@@ -349,9 +349,7 @@ export interface operations {
};
getGames: {
parameters: {
- query?: {
- player_id?: number;
- };
+ query?: never;
header: {
Authorization: string;
};
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}`,
},