Fix list route again

This commit is contained in:
Jacob Gunther committed 2023-05-02 20:57:56 -05:00
1 parent 028503bf36
commit a1b37f7c64
1 file changed
+1 -3
+1 -3
View File
@@ -46,9 +46,7 @@ func (r *Redis) Scan(cursor uint64, pattern string, count int64) ([]string, uint
return nil, 0, err return nil, 0, err
} }
keys, newCursor := res.Val() return res.Result()
return keys, newCursor, nil
} }
// GetString gets the value from Redis by the key and returns the value as a string. // GetString gets the value from Redis by the key and returns the value as a string.