Skip to content

Commit

Permalink
fix: fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rishtigupta committed Jun 6, 2023
1 parent 36ed10a commit 21138ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Momento.Sdk/Responses/CacheListRemoveValueResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ public class Success : CacheListRemoveValueResponse
/// <param name="response">The cache response</param>
public Success(_ListRemoveResponse response)
{
ListLength = checked((int)response.Found.ListLength);
if (response.ListCase == _ListRemoveResponse.ListOneofCase.Found) {
ListLength = checked((int)response.Found.ListLength);
}
}

/// <inheritdoc />
Expand Down

0 comments on commit 21138ef

Please sign in to comment.