From be9f3028d4bf06bbe1239f584b6dd754431d3823 Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Sun, 1 Dec 2024 18:55:11 +0500 Subject: [PATCH] update endpoint from bounty to bounties --- src/store/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/main.ts b/src/store/main.ts index 5a0f3238..dc9cb421 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -3666,7 +3666,7 @@ export class MainStore { if (!uiStore.meInfo) return []; const info = uiStore.meInfo; - const response = await fetch(`${TribesURL}/bounty/ticket/${initialTicketData.uuid}`, { + const response = await fetch(`${TribesURL}/bounties/ticket/${initialTicketData.uuid}`, { method: 'POST', mode: 'cors', headers: { @@ -3706,7 +3706,7 @@ export class MainStore { if (!uiStore.meInfo) return null; const info = uiStore.meInfo; - const response = await fetch(`${TribesURL}/bounty/ticket/review/send`, { + const response = await fetch(`${TribesURL}/bounties/ticket/review/send`, { method: 'POST', mode: 'cors', headers: {