summaryrefslogtreecommitdiff
path: root/lib/Net
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Net/Presque.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/Presque.pm b/lib/Net/Presque.pm
index 2471fda..bc4c9c0 100644
--- a/lib/Net/Presque.pm
+++ b/lib/Net/Presque.pm
@@ -86,7 +86,7 @@ net_api_method queue_size => (
net_api_method worker_stats => (
method => 'GET',
- path => '/w/:worker_id',
+ path => '/w/',
params => [qw/worker_id/],
required => [qw/worker_id/],
);
@@ -98,7 +98,7 @@ net_api_method workers_stats => (
net_api_method queue_stats => (
method => 'GET',
- path => '/w/:queue_name',
+ path => '/w/',
params => [qw/queue_name/],
required => [qw/queue_name/],
);