fix data names

This commit is contained in:
ghost 2022-01-04 00:33:28 +02:00
parent e1b2366ace
commit 5f7b339089

View File

@ -29,7 +29,7 @@ if (isset($_SESSION['userName'])) {
]; ];
/* /*
* Step 2: try to obtain profile from DHT * Step 2: try to obtain avatar from DHT
* *
* */ * */
} else if ($dhtAvatarRevisions = $_twister->getDHTAvatarRevisions($userName)) { } else if ($dhtAvatarRevisions = $_twister->getDHTAvatarRevisions($userName)) {
@ -103,7 +103,7 @@ if (isset($_SESSION['userName'])) {
$response = [ $response = [
'success' => false, 'success' => false,
'message' => _('Requested user not found'), 'message' => _('Requested user not found'),
'profile' => [] 'avatar' => []
]; ];
} }