From 71c630a1661361d5117075d8919be04a6fe96c41 Mon Sep 17 00:00:00 2001 From: mmuller-tines Date: Wed, 4 Dec 2024 16:10:04 -0500 Subject: [PATCH] Fix linting --- internal/tines_cli/stories.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tines_cli/stories.go b/internal/tines_cli/stories.go index 77146e4..1d015e5 100644 --- a/internal/tines_cli/stories.go +++ b/internal/tines_cli/stories.go @@ -44,10 +44,10 @@ type Story struct { } // Create a new story. -func (c *Client) CreateStory(new *Story) (*Story, error) { +func (c *Client) CreateStory(s *Story) (*Story, error) { newStory := Story{} - req, err := json.Marshal(&new) + req, err := json.Marshal(&s) if err != nil { return nil, err }