summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl/commands.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index 3e68c2b..63de83b 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -28,7 +28,7 @@ module HCl
def tasks project_code=nil
tasks = Task.all
if tasks.empty? # cache tasks
- DayEntry.today
+ DayEntry.today(http)
tasks = Task.all
end
tasks.select! {|t| t.project.code == project_code } if project_code