Fix list route again

This commit is contained in:
Jacob Gunther
2023-05-02 20:57:56 -05:00
parent 028503bf36
commit a1b37f7c64

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.