mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-05 06:35:38 +09:00
Fix too few arguments error
This commit is contained in:
1 parent
f5bf55c1ca
commit
62bb39f003
1 file changed
+1
-1
@@ -111,7 +111,7 @@ class Admin implements \Box\InjectionAwareInterface
|
||||
return $app->render('mod_example_index', $params);
|
||||
}
|
||||
|
||||
public function get_api(\Box_App $app, $id)
|
||||
public function get_api(\Box_App $app, $id = null)
|
||||
{
|
||||
// always call this method to validate if admin is logged in
|
||||
$api = $this->di['api_admin'];
|
||||
|
||||
Reference in new issue
Block a user