Skip to content

Commit

Permalink
Fixed Bug with backwards compatibility and api version (#53)
Browse files Browse the repository at this point in the history
Fix back compatibility bug where not passing in the optional WithVersion option causes the globalApiPathPrefix to be an empty string instead of admin
  • Loading branch information
ckeyes88 authored and rickywiens committed May 16, 2019
1 parent d66632a commit c2e2752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goshopify.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const (
)

var (
// Shopify API version YYYY-MM
globalApiPathPrefix string
// Shopify API version YYYY-MM - defaults to admin which uses the oldest stable version of the api
globalApiPathPrefix string = "admin"
)

// App represents basic app settings such as Api key, secret, scope, and redirect url.
Expand Down

0 comments on commit c2e2752

Please sign in to comment.