From 7f1b4e77d40d18a8a725d72b891ddfd5403a087d Mon Sep 17 00:00:00 2001 From: Alex Ott Date: Wed, 4 Dec 2024 07:04:14 -0500 Subject: [PATCH] Update workspace/resource_notebook.go Co-authored-by: Omer Lachish <289488+rauchy@users.noreply.github.com> --- workspace/resource_notebook.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace/resource_notebook.go b/workspace/resource_notebook.go index 551def0da..3b18e3113 100644 --- a/workspace/resource_notebook.go +++ b/workspace/resource_notebook.go @@ -107,9 +107,9 @@ func (a NotebooksAPI) Create(r ImportPath) (ImportResponse, error) { mtx.Lock() defer mtx.Unlock() } - var responce ImportResponse - err := a.client.Post(a.context, "/workspace/import", r, &responce) - return responce, err + var response ImportResponse + err := a.client.Post(a.context, "/workspace/import", r, &response) + return response, err } // Read returns the notebook metadata and not the contents