summaryrefslogtreecommitdiffstats
path: root/Bugzilla/API
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/API')
-rw-r--r--Bugzilla/API/1_0/Resource/BugUserLastVisit.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
index 7568fc30f..fd25524f9 100644
--- a/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
+++ b/Bugzilla/API/1_0/Resource/BugUserLastVisit.pm
@@ -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]] };
},
},
},