From 85e559ca11ec12772bf53a355030291e6af19b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Larivi=C3=A8re?= Date: Mon, 2 Mar 2026 16:18:38 -0500 Subject: [PATCH] fix(entries): remove omitempty from Update request structs for PUT compliance --- VERSION | 2 +- entry_credential.go | 6 +++--- entry_folder.go | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index 1cf0537..41915c7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.19.0 +0.19.1 diff --git a/entry_credential.go b/entry_credential.go index b7713c5..8510d33 100644 --- a/entry_credential.go +++ b/entry_credential.go @@ -379,9 +379,9 @@ func (c *EntryCredentialService) UpdateWithContext(ctx context.Context, entry En updateEntryRequest := struct { Name string `json:"name"` - Description string `json:"description,omitempty"` - Path string `json:"path,omitempty"` - Tags []string `json:"tags,omitempty"` + Description string `json:"description"` + Path string `json:"path"` + Tags []string `json:"tags"` Data EntryData `json:"data"` }{ Name: entry.Name, diff --git a/entry_folder.go b/entry_folder.go index 180ecc0..28b9b8c 100644 --- a/entry_folder.go +++ b/entry_folder.go @@ -193,9 +193,9 @@ func (c *EntryFolderService) UpdateWithContext(ctx context.Context, entry Entry) updateEntryRequest := struct { Name string `json:"name"` - Description string `json:"description,omitempty"` - Path string `json:"path,omitempty"` - Tags []string `json:"tags,omitempty"` + Description string `json:"description"` + Path string `json:"path"` + Tags []string `json:"tags"` Data EntryData `json:"data"` }{ Name: entry.Name,