Skip to content

Commit e7ccd97

Browse files
committed
Allow more attributes to change
1 parent 2fba39b commit e7ccd97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lhc_web/modules/lhrestapi/file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
$requestBody = json_decode(file_get_contents('php://input'),true);
6060

61-
$whiteList = ['upload_name','persistent'];
61+
$whiteList = ['upload_name','persistent', 'chat_id', 'user_id', 'online_user_id'];
6262

6363
foreach ($requestBody as $attr => $attrValue) {
6464
if (in_array($attr, $whiteList, true)) {

0 commit comments

Comments
 (0)