Some standards
This commit is contained in:
parent
95f085b7ac
commit
f68c94db04
|
@ -65,6 +65,7 @@ class Photo extends BaseFactory
|
||||||
$condition = ['uid' => $uid, 'resource-id' => $photo_id];
|
$condition = ['uid' => $uid, 'resource-id' => $photo_id];
|
||||||
if (is_int($scale)) {
|
if (is_int($scale)) {
|
||||||
$fields = array_merge(['data'], $fields);
|
$fields = array_merge(['data'], $fields);
|
||||||
|
|
||||||
$condition['scale'] = $scale;
|
$condition['scale'] = $scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ use Friendica\Model\Contact;
|
||||||
use Friendica\Module\BaseApi;
|
use Friendica\Module\BaseApi;
|
||||||
use Friendica\Network\HTTPException;
|
use Friendica\Network\HTTPException;
|
||||||
|
|
||||||
class Activity extends BaseApi
|
class Photo extends BaseApi
|
||||||
{
|
{
|
||||||
protected function post(array $request = [])
|
protected function post(array $request = [])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user