Skip to content

Commit

Permalink
fix: fix err messages for toggle flag command (#112)
Browse files Browse the repository at this point in the history
* send err msg not cmd

* remove newline
  • Loading branch information
k3llymariee authored Apr 3, 2024
1 parent 9cd4018 commit 9b385e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/quickstart/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ func sendToggleFlagMsg(client flags.Client, accessToken, baseUri, flagKey string
flags.BuildToggleFlagPatch(defaultEnvKey, enabled),
)
if err != nil {
return sendErr(err)
return errMsg{err: err}
}

return toggledFlagMsg{}
}
}
Expand Down

0 comments on commit 9b385e9

Please sign in to comment.