summaryrefslogtreecommitdiff
path: root/src/NeonXP/DozorApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/NeonXP/DozorApi.php')
-rw-r--r--src/NeonXP/DozorApi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NeonXP/DozorApi.php b/src/NeonXP/DozorApi.php
index 8c7c510..ad7116d 100644
--- a/src/NeonXP/DozorApi.php
+++ b/src/NeonXP/DozorApi.php
@@ -56,7 +56,7 @@ class DozorApi
$result = file_get_contents($this->getLink($chat), false, $context);
$contextData['result'] = $result;
- return json_encode($contextData, JSON_UNESCAPED_UNICODE);
+ return serialize($contextData);
}
private function parseResult($html)