Browse Source

Also get event this week

rorist 4 months ago
parent
commit
37f6a58fa3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      node.lua

+ 4 - 0
node.lua

@@ -38,6 +38,10 @@ local events = {
 util.file_watch("events.json", function(data)
     events = {}
     evt = json.decode(data)
+    week = evt.week_events
+    for i, f in ipairs(week) do
+        table.insert(events, f)
+    end
     future = evt.future_events
     for i, f in ipairs(future) do
         table.insert(events, f)