Skip to content

Commit 8f10a1f

Browse files
committed
refactor: replace httpClient with fetch in health-service
1 parent 69ac0cf commit 8f10a1f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/services/health-service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ export class HealthService {
2222
id: welcome,
2323
timestamp: Date.now().toString(),
2424
})
25-
return this.httpClient.get(
26-
`${dataHamsterUrl}?${dataHamsterParams.toString()}`,
27-
)
25+
fetch(`${dataHamsterUrl}?${dataHamsterParams.toString()}`)
2826
}
2927
}

0 commit comments

Comments
 (0)