fix lint and prev commit errors

This commit is contained in:
Lachlan Kermode
2018-12-14 17:24:50 +00:00
parent 82b4dceef0
commit 95a501aba2
3 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,6 @@ class Controller {
retrieve (sheet, tab, resource) {
if (this._sheetExists(sheet)) {
const fetcher = this.fetchers[sheet]
// console.log(fetcher);
return fetcher.retrieve(tab, resource)
} else {
return Promise.reject(new Error(copy.errors.noResource(sheet)))

View File

@@ -189,7 +189,7 @@ class Fetcher {
retrieveFrag (tab, resource, frag) {
const title = fmtName(tab)
const url = `${this.sheetName}/${tab}/${resource}/${frag || ''}`
const url = `${this.id}/${tab}/${resource}/${frag || ''}`
return this.db.load(url, this.blueprints[title])
}
}