mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
extract "BaseApi::checkDefaults()" method for later usage
This commit is contained in:
parent
d21108fe0e
commit
f580d8e5c0
42 changed files with 86 additions and 72 deletions
|
@ -39,7 +39,7 @@ class PushSubscription extends BaseApi
|
|||
$uid = self::getCurrentUserID();
|
||||
$application = self::getCurrentApplication();
|
||||
|
||||
$request = self::getRequest([
|
||||
$request = $this->getRequest([
|
||||
'subscription' => [],
|
||||
'data' => [],
|
||||
], $request);
|
||||
|
@ -72,7 +72,7 @@ class PushSubscription extends BaseApi
|
|||
$uid = self::getCurrentUserID();
|
||||
$application = self::getCurrentApplication();
|
||||
|
||||
$request = self::getRequest([
|
||||
$request = $this->getRequest([
|
||||
'data' => [],
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue