From 74e134716250fa07ab056f652cda812ba9febdd9 Mon Sep 17 00:00:00 2001 From: al8763be Date: Wed, 20 Mar 2024 14:02:34 +0100 Subject: [PATCH] Changed error message --- frontend/src/API/API.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index c4a9e43..1e90174 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -277,7 +277,7 @@ export const api: API = { async getWeeklyReportsForProject( username: string, projectName: string, - token: string + token: string, ): Promise> { try { const response = await fetch("/api/getWeeklyReportsUser", { @@ -301,7 +301,7 @@ export const api: API = { } catch (e) { return { success: false, - message: "Failed to get weekly reports for project", + message: "fucked again", }; } },