summaryrefslogtreecommitdiff
path: root/add.go
diff options
context:
space:
mode:
Diffstat (limited to 'add.go')
-rw-r--r--add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/add.go b/add.go
index baabef7..5116c86 100644
--- a/add.go
+++ b/add.go
@@ -41,7 +41,7 @@ type options struct {
DuplicateScope string `json:"duplicateScope"`
}
-func addCard(c *http.Client, deckName, modelName, front, back string) tea.Cmd {
+func addCard(c *http.Client, apiURL, deckName, modelName, front, back string) tea.Cmd {
return func() tea.Msg {
if back == "" {
return errMsg(errors.New("definition is blank"))