Browse Source

fix data names

main
ghost 3 years ago
parent
commit
5f7b339089
  1. 4
      src/application/controller/api/user/avatar.php

4
src/application/controller/api/user/avatar.php

@ -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' => []
]; ];
} }

Loading…
Cancel
Save