Skip to content

Commit eabe16a

Browse files
johnnyfishguyb1
andauthored
fix: add warning field to secrets API response (#11)
* fix: add warning field to secrets API response * fix --------- Co-authored-by: Guy Ben Aharon <guybenah@gmail.com>
1 parent 49cccb2 commit eabe16a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/api/secrets.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type Secret struct {
1717
CreatedAt string `json:"createdAt"`
1818
TypeLabel string `json:"typeLabel,omitempty"`
1919
Preview string `json:"preview,omitempty"`
20+
Warning string `json:"warning,omitempty"`
2021
}
2122

2223
// InjectionConfig describes how a secret is injected into requests.

0 commit comments

Comments
 (0)