diff options
Diffstat (limited to 'Bugzilla/API/1_0/Resource/BugUserLastVisit.pm')
-rw-r--r-- | Bugzilla/API/1_0/Resource/BugUserLastVisit.pm | 4 |
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]] }; }, }, }, |