]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1051056 - The REST API needs to be versioned so that new changes can be made...
authorDavid Lawrence <dkl@mozilla.com>
Wed, 29 Apr 2015 18:50:16 +0000 (19:50 +0100)
committerDavid Lawrence <dkl@mozilla.com>
Wed, 29 Apr 2015 18:50:16 +0000 (19:50 +0100)
- Fixed parameter issue with creating new bugs using the REST API.

Bugzilla/API/1_0/Resource/Bug.pm

index f79dad72efee1af05197fc75658c010c3fe83e5b..61db5950b10afd7534e2d038f0ae2088f4634b5d 100644 (file)
@@ -858,7 +858,7 @@ sub update {
 }
 
 sub create {
-    my ($self, $api, $params) = @_;
+    my ($self, $params) = @_;
     my $dbh = Bugzilla->dbh;
 
     Bugzilla->login(LOGIN_REQUIRED);