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(
|
async getWeeklyReportsForProject(
|
||||||
username: string,
|
username: string,
|
||||||
projectName: string,
|
projectName: string,
|
||||||
token: string
|
token: string,
|
||||||
): Promise<APIResponse<WeeklyReport[]>> {
|
): Promise<APIResponse<WeeklyReport[]>> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch("/api/getWeeklyReportsUser", {
|
const response = await fetch("/api/getWeeklyReportsUser", {
|
||||||
|
@ -301,7 +301,7 @@ export const api: API = {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return {
|
return {
|
||||||
success: false,
|
success: false,
|
||||||
message: "Failed to get weekly reports for project",
|
message: "fucked again",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue