New function to handle "get" requests

This commit is contained in:
Michael 2025-01-06 22:04:45 +00:00
parent c2eae676bf
commit 8e76d13a96
9 changed files with 25 additions and 9 deletions

View file

@ -18,7 +18,7 @@ use Friendica\Module\BaseApi;
*/
class Inbox extends DirectMessagesEndpoint
{
protected function rawContent(array $request = [])
protected function get(array $request = [])
{
$this->checkAllowedScope(BaseApi::SCOPE_READ);
$uid = BaseApi::getCurrentUserID();