Skip to content

Commit 2f6ba02

Browse files
authored
fix: Clear key notes (#321)
1 parent 9efcb8a commit 2f6ba02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/handler/key_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ func (s *Server) ExportKeys(c *gin.Context) {
443443

444444
// UpdateKeyNotesRequest defines the payload for updating a key's notes.
445445
type UpdateKeyNotesRequest struct {
446-
Notes string `json:"notes" binding:"required"`
446+
Notes string `json:"notes"`
447447
}
448448

449449
// UpdateKeyNotes handles updating the notes of a specific API key.

0 commit comments

Comments
 (0)