Fix " in etag
parent
245fba3d67
commit
337c68e4ca
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue