diff options
Diffstat (limited to 'lib/presque')
-rw-r--r-- | lib/presque/worker.pm | 2 |
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 => { |