Skip to content

Commit

Permalink
feat(happ-details): use api/v2 prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszRybczonek committed Nov 15, 2023
1 parent dd992cc commit 16f11ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/HposInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export function useHposInterface(): HposInterface {
// NB: the `/hosted_happs` endpoint returns happs sorted by earnings in descending order
const result = await hposHolochainCall({
method: 'get',
pathPrefix: '/holochain-api/v2',
pathPrefix: '/api/v2',
path: '/hosted_happs',
params: {
usage_interval: 7,
Expand All @@ -426,7 +426,7 @@ export function useHposInterface(): HposInterface {
try {
const result = await hposHolochainCall({
method: 'get',
pathPrefix: '/holochain-api/v2',
pathPrefix: '/api/v2',
path: '/hosted_happs',
params: {
usage_interval: 7
Expand Down
2 changes: 1 addition & 1 deletion ui-common-library

0 comments on commit 16f11ec

Please sign in to comment.