fix: Clear key notes (#321)

This commit is contained in:
tbphp authored and GitHub committed 2025-10-15 14:17:58 +08:00
1 parent 9efcb8a617
commit 2f6ba028cf
1 file changed
+1 -1
+1 -1
View File
@@ -443,7 +443,7 @@ func (s *Server) ExportKeys(c *gin.Context) {
// UpdateKeyNotesRequest defines the payload for updating a key's notes.
type UpdateKeyNotesRequest struct {
Notes string `json:"notes" binding:"required"`
Notes string `json:"notes"`
}
// UpdateKeyNotes handles updating the notes of a specific API key.