mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-08 03:18:33 +03:00
correct load URLs for model layer
This commit is contained in:
@@ -162,7 +162,7 @@ class Fetcher {
|
||||
// NB: could combine these functions by checking kwargs length
|
||||
retrieve (tab, resource) {
|
||||
const title = fmtName(tab)
|
||||
const url = `${this.sheetName}/${tab}/${resource}`
|
||||
const url = `${this.id}/${tab}/${resource}`
|
||||
return this.db.load(url, this.blueprints[title])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user