Fix FLEXIAPI-256 Publish an empty string while deleting a device on Redis to...

This commit is contained in:
Timothée Jaussoin 2025-02-10 10:47:09 +00:00
parent 1ba3834f40
commit 63c1c404a6
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ v1.7
- Fix FLEXIAPI-260 Return 404 and not 403 if the contact is already in the list or missing when removing it
- Fix FLEXIAPI-262 Bypass the JWT auth if we have an API Key
- Fix FLEXIAPI-264 Add -k|api_key_ip parameter to accounts:create-admin-account to set/clear the related API Key restriction
- Fix FLEXIAPI-256 Publish an empty string while deleting a device on Redis to force the refresh on the other clients
v1.6
----

View file

@ -49,6 +49,7 @@ class FlexisipRedisConnector
{
try {
Redis::hdel('fs:' . $from, '"<' . $uuid . '>"');
Redis::publish($from, '');
} catch (\Throwable $th) {
Log::error('Redis server issue: ' . $th->getMessage());
}