From c265878fa45d4a936b187ee4cc0b701dbcae6179 Mon Sep 17 00:00:00 2001 From: KungKurt Date: Sun, 23 Feb 2025 23:05:58 +0100 Subject: [PATCH] updated to version 0.1.32 --- module.json | 2 +- scripts/puckoapi/puckoapi.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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