]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1169395: BugUserLastVisit does not allow multiple bugs to be specified
authorDylan William Hardison <dylan@mozilla.com>
Wed, 10 Jun 2015 18:34:35 +0000 (14:34 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 10 Jun 2015 18:34:35 +0000 (14:34 -0400)
r=dkl,a=glob

Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm

index a434d4befa26e81d5626e56ea648e865b1adc2ea..8502d6b3b5ddc1a3a6a14eb63062ec61275661cc 100644 (file)
@@ -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]] };
                 },
             },
         },