mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 16:44:26 +02:00
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'];
|
$which = $a->user['nickname'];
|
||||||
$profile = $parameters['profile'];
|
$profile = $parameters['profile'];
|
||||||
} else {
|
} else {
|
||||||
System::jsonError(404, 'Invalid request');
|
System::jsonError(403, 'Authentication required');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue