mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Fix noscrape publishing and pulling, added header
This commit is contained in:
parent
5419d1d426
commit
fe07dc828b
16 changed files with 36 additions and 28 deletions
|
@ -50,7 +50,7 @@ class NoScrape extends BaseModule
|
|||
System::jsonError(403, 'Authentication required');
|
||||
}
|
||||
|
||||
$profile = Profile::getByNickname($which, local_user());
|
||||
$profile = Profile::getByNickname($which);
|
||||
|
||||
if (empty($profile['uid'])) {
|
||||
System::jsonError(404, 'Profile not found');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue