summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command/Delete.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Hiveminder/Command/Delete.pm')
-rw-r--r--lib/App/Hiveminder/Command/Delete.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command/Delete.pm b/lib/App/Hiveminder/Command/Delete.pm
index 33552eb..b6d7202 100644
--- a/lib/App/Hiveminder/Command/Delete.pm
+++ b/lib/App/Hiveminder/Command/Delete.pm
@@ -17,7 +17,7 @@ sub command {
# XXX: offer an interactive mode here, possibly
my $ret = '';
for my $locator (@_) {
- my $desc = display_tasks($self->hm->read_task($locator));
+ my $desc = display_tasks($self->hm, $self->hm->read_task($locator));
$ret .= "Deleted $desc\n";
eval { $self->hm->delete('Task', id => $self->hm->loc2id($locator)) };
warn $@ unless $@ =~ /404 Not Found/;