Skip to content

Commit

Permalink
chore: Update consumer api sdk for single GET
Browse files Browse the repository at this point in the history
  • Loading branch information
MH321Productions committed Dec 18, 2024
1 parent 736d4a9 commit ec9b27d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Sdks/ConsumerApi.Sdk/src/Endpoints/Tokens/TokensEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ public async Task<ApiResponse<ListTokensResponse>> ListTokens(IEnumerable<ListTo
foreach (var queryItem in queryItems)
{
request.AddQueryParameter($"tokens.{i}.id", queryItem.Id);

if (queryItem.Password != null)
request.AddQueryParameter($"tokens.{i}.password", queryItem.Password);

i++;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
public class ListTokensQueryItem
{
public required string Id { get; set; }
public byte[]? Password { get; set; }
}

0 comments on commit ec9b27d

Please sign in to comment.