Skip to content

Commit

Permalink
Merge pull request #196 from linea-it/186-bug-in-download-button
Browse files Browse the repository at this point in the history
Fixed #186 - The maximum timeout has been increased.
  • Loading branch information
gschwend authored Sep 5, 2023
2 parents 997125a + 79be225 commit e7d5131
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/services/product.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export const getProductTypes = ({ }) => {

export const downloadProduct = (id, internalName) => {
return api.get('/api/products/' + id + '/download/', {
responseType: 'blob'
responseType: 'blob',
timeout: 60000
})
}

Expand Down

0 comments on commit e7d5131

Please sign in to comment.