diff --git a/module.json b/module.json index 6d399ee..29d094b 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Robin Riis" } ], - "version": "0.1.32", + "version": "0.1.33", "socket": true, "minimumCoreVersion": 10, "compatibility": { diff --git a/scripts/puckoapi/puckoapi.js b/scripts/puckoapi/puckoapi.js index 773ed6f..9fd3d6a 100644 --- a/scripts/puckoapi/puckoapi.js +++ b/scripts/puckoapi/puckoapi.js @@ -13,8 +13,6 @@ export class PuckoPruttApi { } dagens_lunch(spider) { - this._fetch_json("/spiders/dagens_lunch/" + spider + "/?format=json").then(dagens => { - return dagens; - }); + return this._fetch_json("/spiders/dagens_lunch/" + spider + "/?format=json") } } \ No newline at end of file