mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-12 05:18:31 +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
|
// NB: could combine these functions by checking kwargs length
|
||||||
retrieve (tab, resource) {
|
retrieve (tab, resource) {
|
||||||
const title = fmtName(tab)
|
const title = fmtName(tab)
|
||||||
const url = `${this.sheetName}/${tab}/${resource}`
|
const url = `${this.id}/${tab}/${resource}`
|
||||||
return this.db.load(url, this.blueprints[title])
|
return this.db.load(url, this.blueprints[title])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user