summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-01 16:46:28 +0200
committerDylan William Hardison <dylan@hardison.net>2018-04-01 16:46:28 +0200
commit2f8b999750cc700faf03c6aee1c53d1fc4df767f (patch)
treeef00bf6fd9932fd4fa1fc69e3108a1c5603aa64a /Bugzilla/WebService
parentc6d0d0e31a8b7b0e3c46ddf0a2be7741716d7977 (diff)
parent45485679f2e173170ed9c0e8a0eae979fe9de067 (diff)
downloadbugzilla-2f8b999750cc700faf03c6aee1c53d1fc4df767f.tar.gz
bugzilla-2f8b999750cc700faf03c6aee1c53d1fc4df767f.tar.xz
Merge branch 'master' of git://github.com/mozilla-bteam/bmo
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Server/REST.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/REST.pm b/Bugzilla/WebService/Server/REST.pm
index 6fb86fdd4..b8884b753 100644
--- a/Bugzilla/WebService/Server/REST.pm
+++ b/Bugzilla/WebService/Server/REST.pm
@@ -132,7 +132,8 @@ sub response {
if (exists $json_data->{error}) {
$result = $json_data->{error};
$result->{error} = $self->type('boolean', 1);
- $result->{documentation} = REST_DOC;
+
+ $result->{documentation} = Bugzilla->params->{docs_urlbase} . "api/";
delete $result->{'name'}; # Remove JSONRPCError
}
elsif (exists $json_data->{result}) {