Skip to content

Commit

Permalink
#585: fixed bug for return value on the isHealthy
Browse files Browse the repository at this point in the history
  • Loading branch information
basmasking committed Dec 31, 2024
1 parent b2aef61 commit 18e2abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/http/src/HttpRemote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class HttpRemote implements Remote
const response = await this.#callRemote(remoteUrl, options);
const healthy = await response.text();

return Boolean(healthy);
return healthy === 'true';
}

async getHealth(): Promise<Map<string, boolean>>
Expand Down

0 comments on commit 18e2abe

Please sign in to comment.