From: David Lawrence Date: Wed, 29 Apr 2015 18:50:16 +0000 (+0100) Subject: Bug 1051056 - The REST API needs to be versioned so that new changes can be made... X-Git-Tag: release-5.1.1~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=281214d136cfa3ad6dd8e2fa0777b336ca6cdff0;p=thirdparty%2Fbugzilla.git 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. --- diff --git a/Bugzilla/API/1_0/Resource/Bug.pm b/Bugzilla/API/1_0/Resource/Bug.pm index f79dad72ef..61db5950b1 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);