1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

SEPARATOR typo fix (#1823)

* SEPARATOR typo fix

* SEPARATOR typo fix
This commit is contained in:
Nathan Němec
2022-01-12 14:16:47 +01:00
committed by GitHub
parent d34cb9c07b
commit 4859aa722d
2 changed files with 6 additions and 6 deletions

View File

@@ -200,7 +200,7 @@ type CreateSchemaNumericField = CreateSchemaField<SchemaFieldTypes.NUMERIC>;
type CreateSchemaGeoField = CreateSchemaField<SchemaFieldTypes.GEO>;
type CreateSchemaTagField = CreateSchemaField<SchemaFieldTypes.TAG, {
SEPERATOR?: string;
SEPARATOR?: string;
CASESENSITIVE?: true;
}>;
@@ -248,8 +248,8 @@ export function pushSchema(args: RedisCommandArguments, schema: CreateSchema) {
// break;
case 'TAG':
if (fieldOptions.SEPERATOR) {
args.push('SEPERATOR', fieldOptions.SEPERATOR);
if (fieldOptions.SEPARATOR) {
args.push('SEPARATOR', fieldOptions.SEPERATOR);
}
if (fieldOptions.CASESENSITIVE) {