From f81cb6af137b8f8a9b9ca5af045aa8fe913870c6 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 19 Dec 2025 00:34:37 -0700 Subject: [PATCH] fix(lunatask): make Note.NotebookID optional Aligns response type with CreateNoteRequest now that notebooks are optional. Assisted-by: Claude Sonnet 4 via Crush --- lunatask/notes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lunatask/notes.go b/lunatask/notes.go index d01cace29a8c9ece2c378401884a9af622025ba8..be5f2e4ff1c55a589bbac6acde9b5d1daf0ec77d 100644 --- a/lunatask/notes.go +++ b/lunatask/notes.go @@ -16,7 +16,7 @@ import ( // Note: name and content are E2EE and not returned by the API. type Note struct { ID string `json:"id"` - NotebookID string `json:"notebook_id"` + NotebookID *string `json:"notebook_id"` DateOn *Date `json:"date_on"` Sources []Source `json:"sources"` CreatedAt time.Time `json:"created_at"`