Transform ApiResponse::unspported() into dynamic method

This commit is contained in:
Philipp 2021-11-12 20:07:05 +01:00
parent ebf56674f1
commit 5bfcc8b91c
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
7 changed files with 19 additions and 20 deletions

View file

@ -39,7 +39,7 @@ class ScheduledStatuses extends BaseApi
self::checkAllowedScope(self::SCOPE_WRITE);
$uid = self::getCurrentUserID();
ApiResponse::unsupported(Router::PUT);
DI::apiResponse()->unsupported(Router::PUT);
}
public static function delete(array $parameters = [])