]> git.mxchange.org Git - friendica.git/commitdiff
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
authorMichael <heluecht@pirati.ca>
Tue, 30 Nov 2021 05:00:46 +0000 (05:00 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 30 Nov 2021 05:00:46 +0000 (05:00 +0000)
1  2 
src/Module/Api/Friendica/Photo/Delete.php
src/Module/Api/Friendica/Photoalbum/Delete.php

index 27112ea7d9799d796b5447ecb16a80561d971bec,d4288b88bec08ff8ba8b1fb2e0e69c0e6e0a4603..7bd2d2f64796992efca5de346fcf3eae5aaa5a31
@@@ -33,9 -32,8 +32,8 @@@ use Friendica\Network\HTTPException\Int
   */
  class Delete extends BaseApi
  {
 -      protected function rawContent(array $request = [])
 +      protected function post(array $request = [], array $post = [])
        {
-               self::checkAllowedScope(self::SCOPE_WRITE);
                $uid = self::getCurrentUserID();
  
                $request = self::getRequest([