Adapt json error

This commit is contained in:
Philipp Holzer 2020-01-27 00:05:45 +01:00
parent 4762476c89
commit 7db4621eef
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -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();
}