issues
search
adobe
/
storefront-product-listing-page
MIT License
14
stars
32
forks
source link
Hardcoded sandbox key
#8
Closed
herzog31
closed
9 months ago
herzog31
commented
10 months ago
Expected Behaviour
The
SANDBOX_KEY
is only applied when no
apiKey
is specified in the configuration.
This applies only when the
environmentType
is set to
testing
.
Actual Behaviour
When
environmentType
is set to
testing
the
apiKey
configuration is ignored and instead the hardcoded
SANDBOX_KEY
is used.
https://github.com/adobe/storefront-product-listing-page/blob/main/src/context/store.tsx#L77-L78
Expected Behaviour
SANDBOX_KEY
is only applied when noapiKey
is specified in the configuration.environmentType
is set totesting
.Actual Behaviour
environmentType
is set totesting
theapiKey
configuration is ignored and instead the hardcodedSANDBOX_KEY
is used.