1
0
Fork 0

Added scope check

This commit is contained in:
Michael 2021-05-16 07:37:11 +00:00
commit 49207a8624
53 changed files with 107 additions and 62 deletions

View file

@ -35,7 +35,7 @@ class Announcements extends BaseApi
*/
public static function rawContent(array $parameters = [])
{
self::login();
self::login(self::SCOPE_READ);
// @todo Possibly use the message from the pageheader addon for this
System::jsonExit([]);