Changed error message
This commit is contained in:
parent
d41bfcf888
commit
74e1347162
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
};
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue