Fix list route again
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user