aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
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]] };
},
},
},