merge again
This commit is contained in:
parent
eff14516b4
commit
8fbb4be0ad
1 changed files with 0 additions and 14 deletions
|
@ -274,15 +274,6 @@ export const api: API = {
|
|||
}
|
||||
},
|
||||
|
||||
<<<<<<< HEAD
|
||||
async getWeeklyReportsForProject(
|
||||
username: string,
|
||||
projectName: string,
|
||||
token: string,
|
||||
) {
|
||||
try {
|
||||
const response = await fetch("/api/getWeeklyReportsUser", {
|
||||
=======
|
||||
async getWeeklyReportsForUser(
|
||||
username: string,
|
||||
projectName: string,
|
||||
|
@ -290,16 +281,11 @@ export const api: API = {
|
|||
): Promise<APIResponse<WeeklyReport[]>> {
|
||||
try {
|
||||
const response = await fetch(`/api/getWeeklyReportsUser?username=${username}&projectName=${projectName}`, {
|
||||
>>>>>>> af5813681d11500c0cfe723af1b8d2522bf277d2
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
Authorization: "Bearer " + token,
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
body: JSON.stringify({ username, projectName }),
|
||||
=======
|
||||
>>>>>>> af5813681d11500c0cfe723af1b8d2522bf277d2
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
|
|
Loading…
Reference in a new issue