From 95cc49a9a0a4db7654a5525bae8fca01bd762d51 Mon Sep 17 00:00:00 2001 From: Sina Sarshar Pour Date: Tue, 17 Dec 2024 15:50:55 -0500 Subject: [PATCH 1/2] fix: rename override -> override_existing "override" is the incorrect variable name when using UpsertUsersAsync api. Instead "override_existing" should be used --- src/UsersBatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UsersBatch.cs b/src/UsersBatch.cs index fc851b6..d5bcd31 100644 --- a/src/UsersBatch.cs +++ b/src/UsersBatch.cs @@ -22,7 +22,7 @@ public async Task> UpsertUsersAsync(IEnumerable users, b var body = new Dictionary { { "users", users }, - { "override", overrideExisting }, + { "override_existing", overrideExisting }, }; var request = _client.BuildAppRequest("users/", HttpMethod.Post); request.SetJsonBody(StreamJsonConverter.SerializeObject(body)); From 9782ae5f8fae4ccf7bbeb523d41d777e4cab01c3 Mon Sep 17 00:00:00 2001 From: Sina Sarshar Pour Date: Mon, 23 Dec 2024 16:35:59 -0500 Subject: [PATCH 2/2] fix: Add version --- src/stream-net.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream-net.csproj b/src/stream-net.csproj index 73e09ab..250c798 100644 --- a/src/stream-net.csproj +++ b/src/stream-net.csproj @@ -1,4 +1,4 @@ - + TRACE;DEBUG;NETCORE @@ -8,7 +8,7 @@ stream-net .NET Client for Stream Feeds - 6.10.1 + 6.12.0 Stream.io GetStream.io © $([System.DateTime]::UtcNow.ToString(yyyy)) Stream.io