From 471df4d7a1654f35756a202e26a5d28815222012 Mon Sep 17 00:00:00 2001 From: David Schlachter Date: Thu, 8 Jan 2026 11:14:39 -0500 Subject: More flexible and better documentation --- add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add.go') diff --git a/add.go b/add.go index 67427df..baabef7 100644 --- a/add.go +++ b/add.go @@ -41,7 +41,7 @@ type options struct { DuplicateScope string `json:"duplicateScope"` } -func addCard(c *http.Client, front, back string) tea.Cmd { +func addCard(c *http.Client, deckName, modelName, front, back string) tea.Cmd { return func() tea.Msg { if back == "" { return errMsg(errors.New("definition is blank")) -- cgit v1.2.3