summaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
Diffstat (limited to 'background')
-rw-r--r--background/indexeddb_files_server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background/indexeddb_files_server.js b/background/indexeddb_files_server.js
index cf78ca6..0c3f7d8 100644
--- a/background/indexeddb_files_server.js
+++ b/background/indexeddb_files_server.js
@@ -59,7 +59,7 @@ async function get_resource_files(getting, id) {
getting.defs_by_res_id.set(id, definition);
const file_proms = (definition.scripts || [])
- .map(s => haketilodb.idb_get(getting.tx, "files", s.hash_key));
+ .map(s => haketilodb.idb_get(getting.tx, "files", s.sha256));
const deps_proms = (definition.dependencies || [])
.map(dep_id => get_resource_files(getting, dep_id));