diff --git a/README.md b/README.md index 371da652..a509d1e6 100644 --- a/README.md +++ b/README.md @@ -473,6 +473,7 @@ We'd love your contributions! If you want to contribute please read our [Contrib * [@abbottdev](https://github.com/abbottdev) * [@PrudiusVladislav](https://github.com/PrudiusVladislav) * [@CormacLennon](https://github.com/CormacLennon) +* [@ahmedisam99](https://github.com/ahmedisam99) [Logo]: images/logo.svg diff --git a/src/Redis.OM/Modeling/RedisIndex.cs b/src/Redis.OM/Modeling/RedisIndex.cs index 5737ef96..db1e8560 100644 --- a/src/Redis.OM/Modeling/RedisIndex.cs +++ b/src/Redis.OM/Modeling/RedisIndex.cs @@ -77,7 +77,7 @@ internal static string[] SerializeIndex(this Type type) if (!string.IsNullOrEmpty(objAttribute.LanguageField)) { - args.Add("LANGUAGE"); + args.Add("LANGUAGE_FIELD"); args.Add(objAttribute.LanguageField!); }