Removed second ppst parameter
This commit is contained in:
@@ -34,7 +34,7 @@ use Friendica\Util\Network;
|
||||
*/
|
||||
class Create extends BaseApi
|
||||
{
|
||||
protected function post(array $request = [], array $post = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
@@ -35,7 +35,7 @@ use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||
*/
|
||||
class Upload extends BaseApi
|
||||
{
|
||||
protected function post(array $request = [], array $post = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
Reference in New Issue
Block a user