diff --git a/src/interfaces/HposInterface.ts b/src/interfaces/HposInterface.ts index 495ef3d..5049397 100644 --- a/src/interfaces/HposInterface.ts +++ b/src/interfaces/HposInterface.ts @@ -825,6 +825,7 @@ export function useHposInterface(): HposInterface { try { return await hposHolochainCall({ method: 'get', + pathPrefix: '/api/v2', path: '/host/invoices', params: { invoice_set: 'paid' } }) @@ -837,6 +838,7 @@ export function useHposInterface(): HposInterface { try { return await hposHolochainCall({ method: 'get', + pathPrefix: '/api/v2', path: '/host/invoices', params: { invoice_set: 'unpaid' } }) @@ -849,6 +851,7 @@ export function useHposInterface(): HposInterface { try { return await hposHolochainCall({ method: 'get', + pathPrefix: '/api/v2', path: '/host/redemptions' }) } catch (error) { @@ -862,6 +865,7 @@ export function useHposInterface(): HposInterface { // @ts-ignore const { version: coreAppVersion } = await hposHolochainCall({ method: 'get', + pathPrefix: '/api/v2', path: '/apps/core/version' }) @@ -884,6 +888,7 @@ export function useHposInterface(): HposInterface { // @ts-ignore const data = await hposHolochainCall({ method: 'get', + pathPrefix: '/api/v2', path: '/host/kyc_level' }) @@ -959,7 +964,7 @@ export function useHposInterface(): HposInterface { const result = await hposHolochainCall({ method: 'get', pathPrefix: '/api/v2', - path: '/holofuel_redeemable_for_last_week' + path: '/host/redeemable_histogram' }) return result