diff --git a/src/NRedisStack/Tdigest/TdigestCommands.cs b/src/NRedisStack/Tdigest/TdigestCommands.cs index 27b4dcde..22506356 100644 --- a/src/NRedisStack/Tdigest/TdigestCommands.cs +++ b/src/NRedisStack/Tdigest/TdigestCommands.cs @@ -123,7 +123,7 @@ public async Task CDFAsync(RedisKey key, double value) /// public bool Create(RedisKey key, long compression = 100) { - return ResponseParser.OKtoBoolean(_db.Execute(TDIGEST.CREATE, key, compression)); + return ResponseParser.OKtoBoolean(_db.Execute(TDIGEST.CREATE, key, TdigestArgs.COMPRESSION, compression)); } /// @@ -135,7 +135,7 @@ public bool Create(RedisKey key, long compression = 100) /// public async Task CreateAsync(RedisKey key, long compression = 100) { - return ResponseParser.OKtoBoolean(await _db.ExecuteAsync(TDIGEST.CREATE, key, compression)); + return ResponseParser.OKtoBoolean(await _db.ExecuteAsync(TDIGEST.CREATE, key, TdigestArgs.COMPRESSION, compression)); } ///