From 281214d136cfa3ad6dd8e2fa0777b336ca6cdff0 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 29 Apr 2015 19:50:16 +0100 Subject: 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. --- Bugzilla/API/1_0/Resource/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-24-g4f1b