Skip to content

Commit

Permalink
s3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
itcon-pty-au committed Sep 4, 2024
1 parent a74a12f commit 4d1c0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function importDataToStorage(data) {
const objectStore = transaction.objectStore("keyval");
// Import the IndexedDB records
Object.keys(data.indexedDB.keyval).forEach(key => {
objectStore.put(data[key], key);
objectStore.put(data.indexedDB.keyval[key], key);
});
transaction.oncomplete = () => {
console.log("All records imported successfully!");
Expand Down

0 comments on commit 4d1c0b9

Please sign in to comment.