]> 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:21:12 +0000 (14:21 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 10 Jun 2015 18:21:12 +0000 (14:21 -0400)
r=dkl,a=glob

Bugzilla/API/1_0/Resource/BugUserLastVisit.pm

index 7568fc30ff6ef2cc14610ecc4d2d1d2e05135912..fd25524f967bf442d5670538f3c9f34cee351ff3 100644 (file)
@@ -41,13 +41,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]] };
                 },
             },
         },