XenForo
Administrative
- Thread starter
- Admin
- #1
The endpoints for marking alerts read (both individual, and all) try to use
PHP:
and
PHP:
Read more
ادامه مطلب...
alert:read:write
scope which is inalidPHP:
Code:
protected function preDispatchController($action, ParameterBag $params)
{
if (strtolower($action) == 'postmark')
{
$this->assertApiScopeByRequestMethod('alert:read');
}
else
{
$this->assertApiScopeByRequestMethod('alert');
}
$this->assertRegisteredUser();
}
and
PHP:
protected function...
Read more
ادامه مطلب...