Fix " in etag

pull/37/head
Varun Patil 2022-09-12 02:50:30 -07:00
parent 245fba3d67
commit 337c68e4ca
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -128,7 +128,8 @@ export async function getFolderPreviewFileIds(folderPath, limit) {
return response.data
.map(data => genFileInfo(data))
.map(data => Object.assign({}, data, {
filename: data.filename.replace(prefixPath, '')
filename: data.filename.replace(prefixPath, ''),
etag: data.etag.replace(/"/g, ''), // remove quotes
}));
}