Adapt json error
This commit is contained in:
parent
4762476c89
commit
7db4621eef
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class NoScrape extends BaseModule
|
|||
$which = $a->user['nickname'];
|
||||
$profile = $parameters['profile'];
|
||||
} else {
|
||||
System::jsonError(404, 'Invalid request');
|
||||
System::jsonError(403, 'Authentication required');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue