mirror of
https://github.com/kevachat/geminiapp.git
synced 2025-03-13 05:51:39 +00:00
add missed namespace
This commit is contained in:
parent
5d052c2d3a
commit
8c0115e78d
@ -950,7 +950,7 @@ class Room
|
||||
private function _records(string $namespace): array
|
||||
{
|
||||
// Check for cache
|
||||
if ($result = $this->_memory->get([__METHOD__]))
|
||||
if ($result = $this->_memory->get([__METHOD__, $namespace]))
|
||||
{
|
||||
return $result;
|
||||
}
|
||||
@ -963,7 +963,8 @@ class Room
|
||||
// Save to cache
|
||||
$this->_memory->set(
|
||||
[
|
||||
__METHOD__
|
||||
__METHOD__,
|
||||
$namespace
|
||||
],
|
||||
$result
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user