From a1b37f7c64e8f211598bbea4174e7a47b6126668 Mon Sep 17 00:00:00 2001 From: Jacob Gunther Date: Tue, 2 May 2023 20:57:56 -0500 Subject: [PATCH] Fix list route again --- src/redis.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/redis.go b/src/redis.go index 5fe4c11..18a86a7 100644 --- a/src/redis.go +++ b/src/redis.go @@ -46,9 +46,7 @@ func (r *Redis) Scan(cursor uint64, pattern string, count int64) ([]string, uint return nil, 0, err } - keys, newCursor := res.Val() - - return keys, newCursor, nil + return res.Result() } // GetString gets the value from Redis by the key and returns the value as a string.