aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@mozilla.com>2015-06-10 14:34:35 -0400
committerDylan William Hardison <dylan@hardison.net>2015-06-10 14:34:35 -0400
commitff377b44c9edc72e8ce9dd26723d3ea5b940eae1 (patch)
tree0fb9f001154b83e6f4c071239b5daea69a556f5f /Bugzilla
parentaf6526cd6c57c2200b593539fe28591b571cff79 (diff)
downloadbugs-ff377b44c9edc72e8ce9dd26723d3ea5b940eae1.tar
bugs-ff377b44c9edc72e8ce9dd26723d3ea5b940eae1.tar.gz
bugs-ff377b44c9edc72e8ce9dd26723d3ea5b940eae1.tar.bz2
bugs-ff377b44c9edc72e8ce9dd26723d3ea5b940eae1.tar.xz
bugs-ff377b44c9edc72e8ce9dd26723d3ea5b940eae1.zip
Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified
r=dkl,a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
index a434d4bef..8502d6b3b 100644
--- a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
+++ b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
@@ -22,13 +22,13 @@ sub _rest_resources {
GET => {
method => 'get',
params => sub {
- return { ids => $_[0] };
+ return { ids => [$_[0]] };
},
},
POST => {
method => 'update',
params => sub {
- return { ids => $_[0] };
+ return { ids => [$_[0]] };
},
},
},