summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-28 10:16:57 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-28 10:16:57 +0200
commite1fefc7d14baca9160260d021d9ceda4f1c4e8ec (patch)
tree86e49c162d8f7a76fdfdbbfb5c722682fde49afc /lib
parentdefault is a sub, loadfile instead of load (diff)
downloadpresque-worker-e1fefc7d14baca9160260d021d9ceda4f1c4e8ec.tar.gz
fix key name
Diffstat (limited to 'lib')
-rw-r--r--lib/presque/worker.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presque/worker.pm b/lib/presque/worker.pm
index dc36260..e73f022 100644
--- a/lib/presque/worker.pm
+++ b/lib/presque/worker.pm
@@ -66,7 +66,7 @@ has rest_client => (
default => sub {
my $self = shift;
my $client =
- Net::Presque->new(api_base_url => $self->context->{rest}->{url});
+ Net::Presque->new(api_base_url => $self->context->{presque}->{url});
$client;
},
handles => {