Tagesschau-EIL: Richtiger Fix
This commit is contained in:
parent
e828e6235f
commit
f70bae0580
@ -81,6 +81,7 @@ function tagesschau_eil:cron()
|
||||
if code ~= 200 then return end
|
||||
local data = json.decode(res)
|
||||
if not data then return end
|
||||
if data == "error" then return end
|
||||
if data.error then return end
|
||||
if data.breakingnews[1] then
|
||||
if data.breakingnews[1].date ~= last_eil then
|
||||
|
Reference in New Issue
Block a user