Skip to content

Commit

Permalink
Reset should use the staging endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Karagiannis <[email protected]>
  • Loading branch information
alkar committed Nov 6, 2019
1 parent 94792d8 commit 4e51893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/megaport_token/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
if token == "" {
log.Fatal("To reset the token, please export MEGAPORT_TOKEN with your current token")
}
c := api.NewClient(api.EndpointProduction)
c := api.NewClient(api.EndpointStaging)
c.Token = token
if err := c.Logout(); err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 4e51893

Please sign in to comment.