summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-04-29 20:50:16 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-04-29 20:50:16 +0200
commit281214d136cfa3ad6dd8e2fa0777b336ca6cdff0 (patch)
treed66596a35f0bcf01dd4dbb33590c6dfb71f1df57
parente1f9d0154af5c8470a180ea27e8aa49e534f08b1 (diff)
downloadbugzilla-281214d136cfa3ad6dd8e2fa0777b336ca6cdff0.tar.gz
bugzilla-281214d136cfa3ad6dd8e2fa0777b336ca6cdff0.tar.xz
Bug 1051056 - The REST API needs to be versioned so that new changes can be made that do not break compatibility
- Fixed parameter issue with creating new bugs using the REST API.
-rw-r--r--Bugzilla/API/1_0/Resource/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/API/1_0/Resource/Bug.pm b/Bugzilla/API/1_0/Resource/Bug.pm
index f79dad72e..61db5950b 100644
--- a/Bugzilla/API/1_0/Resource/Bug.pm
+++ b/Bugzilla/API/1_0/Resource/Bug.pm
@@ -858,7 +858,7 @@ sub update {
}
sub create {
- my ($self, $api, $params) = @_;
+ my ($self, $params) = @_;
my $dbh = Bugzilla->dbh;
Bugzilla->login(LOGIN_REQUIRED);