summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Server/REST/Resources
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-07-17 15:09:22 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-17 15:09:22 +0200
commit731deac85cfeb37f870ee7c95669b13be7ad759a (patch)
tree634e5a1298e98a9c693958e711fc8e9650503d3a /Bugzilla/WebService/Server/REST/Resources
parent03450656e24abb848f6ef8b4f599e876522120fb (diff)
downloadbugzilla-731deac85cfeb37f870ee7c95669b13be7ad759a.tar.gz
bugzilla-731deac85cfeb37f870ee7c95669b13be7ad759a.tar.xz
Bug 1260096 - BugUserLastVisit api not working and throwing error code : 32614
Diffstat (limited to 'Bugzilla/WebService/Server/REST/Resources')
-rw-r--r--Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
index a434d4bef..12290e84e 100644
--- a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
+++ b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
@@ -32,6 +32,15 @@ sub _rest_resources {
},
},
},
+ # no bug-id
+ qr{^/bug_user_last_visit$}, {
+ GET => {
+ method => 'get',
+ },
+ POST => {
+ method => 'update',
+ },
+ },
];
}