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 }