Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shwetharadhakrishna committed Apr 26, 2021
1 parent 496d98c commit 3f5918d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ import (
"fmt"
"os"

"github.com/twilio/twilio-go/framework/error"
"github.com/twilio/twilio-go/twilio"
openapi "github.com/twilio/twilio-go/twilio/rest/studio/v2"
)
Expand Down Expand Up @@ -271,7 +270,7 @@ func main() {
}`

definition := make(map[string]interface{})
err := json.Unmarshal([]byte(jsonStr), &definition)
_ = json.Unmarshal([]byte(jsonStr), &definition)

client := twilio.NewClient(accountSid, authToken)
params := &openapi.CreateFlowParams{
Expand All @@ -284,7 +283,6 @@ func main() {
resp, err := client.StudioV2.CreateFlow(params)
if err != nil {
fmt.Println(err.Error())
err = nil
} else {
fmt.Println(*resp.Sid)
}
Expand Down

0 comments on commit 3f5918d

Please sign in to comment.