mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 02:38:58 +00:00
We don’t need to repeat id here, since the key is id?
@goto-bus-stop I might be missing something though
This commit is contained in:
parent
ef1c3306c6
commit
16734976a7
1 changed files with 1 additions and 4 deletions
|
|
@ -63,10 +63,7 @@ class IndexedDBStore {
|
|||
}).then((files) => {
|
||||
const result = {}
|
||||
files.forEach((file) => {
|
||||
result[file.fileID] = {
|
||||
id: file.fileID,
|
||||
data: file.data
|
||||
}
|
||||
result[file.fileID] = file.data
|
||||
})
|
||||
return result
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue