Merge branch 'add/e2e-get-environment-context' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context
This commit is contained in:
commit
2624ad969d
|
@ -278,7 +278,7 @@ export const withRestApi = {
|
|||
getSystemEnvironment: async () => {
|
||||
const response = await client.get( systemStatusEndpoint );
|
||||
if ( response.data.environment ) {
|
||||
return response.data.environment
|
||||
return response.data.environment;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue