From 3b033d6086cb3f5af965134903769ea731c49c42 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 12 Jan 2025 09:06:43 +0800 Subject: [PATCH] Update what to do script to new API endpoint --- community/what-to-do-widget.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community/what-to-do-widget.lua b/community/what-to-do-widget.lua index ad8d41a..2c852ee 100644 --- a/community/what-to-do-widget.lua +++ b/community/what-to-do-widget.lua @@ -1,6 +1,6 @@ -- name = "What to do?" -- description = "Let's find you something to do" --- data_source = "https://www.boredapi.com/" +-- data_source = "https://bored.api.lewagon.com/" -- type = "widget" -- author = "Evgeny Zobnin (zobnin@gmail.com)" -- version = "1.0" @@ -12,7 +12,7 @@ end function on_click() system:vibrate(100) - http:get("http://www.boredapi.com/api/activity/") + http:get("https://bored.api.lewagon.com/api/activity/") end function on_network_result(result)