Skip to content

Commit

Permalink
Merge pull request stakwork#685 from MahtabBukhari/Front-End-change--…
Browse files Browse the repository at this point in the history
…-update-page-to-call-new-endpoint

[BUG] Front End change - update page to call new endpoint
  • Loading branch information
humansinstitute authored Dec 2, 2024
2 parents d9e2a7f + c9c32d4 commit db3c81e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/store/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3582,14 +3582,17 @@ export class MainStore {
if (!uiStore.meInfo) return undefined;
const info = uiStore.meInfo;

const r: any = await fetch(`${TribesURL}/features/${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) {
Expand Down

0 comments on commit db3c81e

Please sign in to comment.