mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-03-13 05:51:46 +00:00
fix data names
This commit is contained in:
parent
e1b2366ace
commit
5f7b339089
@ -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…
x
Reference in New Issue
Block a user