Version 5.1 - All the GraphQL #32
@ -87,7 +87,7 @@ class Model {
|
||||
*/
|
||||
public function getUserIdByUsername(string $username)
|
||||
{
|
||||
$cacheItem = $this->cache->getItem($this->getHashForMethodCall($this, __METHOD__, $username));
|
||||
$cacheItem = $this->cache->getItem($this->getHashForMethodCall($this, __METHOD__, [$username]));
|
||||
|
||||
if ( ! $cacheItem->isHit())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user