feat(client): Trim quotes from hashset value
All checks were successful
Build / Build (push) Successful in 30s

This commit enhances the handling of string values in the `DragonflyHashSetAsync` function. Specifically, it adds `.Trim('"')` to the second argument (the value being set) to remove any surrounding quotes. This ensures that the value is correctly stored and retrieved, preventing potential issues with data integrity.

Key changes:

*   **String Value Trimming:** Added `.Trim('"')` to the value argument in `DragonflyHashSetAsync` within `Main.cs`.
*   **Binary Updates:** Updated the compiled DLL and SO files.
This commit is contained in:
Jacob Schmidt 2025-03-29 15:35:20 -05:00
parent fb4695a0ee
commit 236dec1d35
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -487,7 +487,7 @@ namespace ArmaDragonflyClient
} }
break; break;
default: default:
await DragonflyDB.DragonflyHashSetAsync(argsArr[0].Trim('"'), argsArr[1], argsArr[2]); await DragonflyDB.DragonflyHashSetAsync(argsArr[0].Trim('"'), argsArr[1].Trim('"'), argsArr[2]);
break; break;
} }
}); });