From 5e7d720baa662a32fd09b60d4cab87484009d3ed Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Fri, 27 May 2022 15:49:05 +1000 Subject: [PATCH] accounts: omitempty `name` values for accounts closes #909 --- accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts.go b/accounts.go index a8708fac60..6e5b161089 100644 --- a/accounts.go +++ b/accounts.go @@ -49,7 +49,7 @@ type AccountDetailResponse struct { // AccountsListParams holds the filterable options for Accounts. type AccountsListParams struct { - Name string `url:"name"` + Name string `url:"name,omitempty"` PaginationOptions }