feat: GetSecret returns full item (all fields: username/uri/notes/fields)
CI / test (push) Has been cancelled
CI / docker (push) Has been cancelled

This commit is contained in:
Hermes committed 2026-08-02 17:17:33 +02:00
1 parent 4fdc94ba44
commit 0ad0415dba
2 files changed
+36 -11

No files matched your search

+1 -4
View File
@@ -108,10 +108,7 @@ func (h *Handler) GetSecret(c *fiber.Ctx) error {
})
}
return c.JSON(fiber.Map{
"name": secretName,
"value": value,
})
return c.JSON(value.ToMap())
}
func parseUUIDQuery(field, raw string) (string, error) {