From 2be0f75362837b2e8639b1ed38c8be626b6d5797 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Fri, 7 Dec 2018 12:04:02 +0000 Subject: [PATCH] correct load URLs for model layer --- src/lib/Fetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Fetcher.js b/src/lib/Fetcher.js index b0a369c..c0fc510 100644 --- a/src/lib/Fetcher.js +++ b/src/lib/Fetcher.js @@ -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]) }