correct load URLs for model layer

This commit is contained in:
Lachlan Kermode
2018-12-07 12:04:02 +00:00
parent aff9b384d1
commit 2be0f75362

View File

@@ -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])
}