Skip to content

Commit 27decb1

Browse files
style: format code with Prettier and StandardJS
This commit fixes the style issues introduced in 9324904 according to the output from Prettier and StandardJS. Details: None
1 parent 9324904 commit 27decb1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/service/axiosConfig.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const axiosInstance = axios.create({
55
baseURL: process.env.APP_BASE_URL || '', // Default base URL
66
timeout: 10000,
77
headers: {
8-
'Content-Type': 'application/json',
9-
},
8+
'Content-Type': 'application/json'
9+
}
1010
})
1111

1212
// Request interceptor
@@ -72,7 +72,7 @@ export const downloadFile = async (url, data, onDownloadProgress, setProgress, s
7272
method: 'POST',
7373
url: process.env.APP_BASE_URL + url,
7474
responseType: 'blob',
75-
data: data,
75+
data,
7676
onDownloadProgress: (progressEvent) => {
7777
if (progressEvent.lengthComputable) {
7878
const progress = Math.round((progressEvent.loaded * 100) / progressEvent.total)
@@ -83,7 +83,7 @@ export const downloadFile = async (url, data, onDownloadProgress, setProgress, s
8383
if (onDownloadProgress) {
8484
onDownloadProgress(progressEvent)
8585
}
86-
},
86+
}
8787
})
8888
setProgressStatus('success')
8989
saveFile(response.data, filename)

0 commit comments

Comments
 (0)