Merge branch 'add/e2e-get-environment-context' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context

This commit is contained in:
Greg 2021-08-30 13:24:12 -06:00
commit 2624ad969d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}