Skip to content

Commit

Permalink
fix: updated endpoints for hpos-api-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeeshan Abid committed Aug 5, 2024
1 parent b89d959 commit cf7500d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interfaces/HposInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ export function useHposInterface(): HposInterface {
try {
return await hposHolochainCall({
method: 'get',
pathPrefix: '/api/v2',
path: '/host/redemptions'
})
} catch (error) {
Expand Down Expand Up @@ -959,7 +960,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
Expand Down

0 comments on commit cf7500d

Please sign in to comment.