Changed error message

This commit is contained in:
al8763be 2024-03-20 14:02:34 +01:00
parent d41bfcf888
commit 74e1347162

View file

@ -277,7 +277,7 @@ export const api: API = {
async getWeeklyReportsForProject(
username: string,
projectName: string,
token: string
token: string,
): Promise<APIResponse<WeeklyReport[]>> {
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",
};
}
},