Skip to content

Commit

Permalink
fix: Revert fetch with retry (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon authored Sep 27, 2024
1 parent ae05860 commit 923e72e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/api/autoacmg/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ export class AutoACMGClient {
`&genome_release=${seqvar.genomeBuild}`

try {
const response = await this.fetchWithRetry(url)
const response = await fetch(url, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
})

if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`)
Expand Down

0 comments on commit 923e72e

Please sign in to comment.