From 411a3d77110acced9bd6503a17778054a50195b9 Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Mon, 2 Dec 2024 12:48:32 +0500 Subject: [PATCH 1/2] front end change update page to call new endpoint --- src/store/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/main.ts b/src/store/main.ts index 44f33b2f..f6c514a1 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -3582,7 +3582,7 @@ export class MainStore { if (!uiStore.meInfo) return undefined; const info = uiStore.meInfo; - const r: any = await fetch(`${TribesURL}/features/${feature_uuid}/phase/${phase_uuid}`, { + const r: any = await fetch(`${TribesURL}/bounties/ticket/feature/${feature_uuid}/phase/${phase_uuid}`, { method: 'GET', mode: 'cors', headers: { From c9c32d4c0c7898df36d0866a1350f20192191d0c Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Mon, 2 Dec 2024 12:54:23 +0500 Subject: [PATCH 2/2] front end change update page to call new endpoint --- src/store/main.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/store/main.ts b/src/store/main.ts index f6c514a1..3fdecbdd 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -3582,14 +3582,17 @@ export class MainStore { if (!uiStore.meInfo) return undefined; const info = uiStore.meInfo; - const r: any = await fetch(`${TribesURL}/bounties/ticket/feature/${feature_uuid}/phase/${phase_uuid}`, { - method: 'GET', - mode: 'cors', - headers: { - 'x-jwt': info.tribe_jwt, - 'Content-Type': 'application/json' + const r: any = await fetch( + `${TribesURL}/bounties/ticket/feature/${feature_uuid}/phase/${phase_uuid}`, + { + method: 'GET', + mode: 'cors', + headers: { + 'x-jwt': info.tribe_jwt, + 'Content-Type': 'application/json' + } } - }); + ); return r.json(); } catch (e) {