mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
refactor: use Json::encode instead of json_encode (#3724)
This commit is contained in:
parent
69da0dd583
commit
547af0d0d2
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ function getContents(
|
|||
|
||||
$requestBodyHash = null;
|
||||
if (isset($curlOptions[CURLOPT_POSTFIELDS])) {
|
||||
$requestBodyHash = md5(json_encode($curlOptions[CURLOPT_POSTFIELDS]));
|
||||
$requestBodyHash = md5(Json::encode($curlOptions[CURLOPT_POSTFIELDS], false));
|
||||
}
|
||||
$cacheKey = implode('_', ['server', $url, $requestBodyHash]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue