Skip to content

Commit

Permalink
Address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed Feb 27, 2023
1 parent b6dd94e commit bb0e55b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NEW_EXPENSIFY_URL=https://staging.new.expensify.com/
SECURE_EXPENSIFY_URL=https://secure.expensify.com/
EXPENSIFY_URL=https://staging.expensify.com/
EXPENSIFY_URL=https://www.expensify.com/
EXPENSIFY_PARTNER_NAME=chat-expensify-com
EXPENSIFY_PARTNER_PASSWORD=e21965746fd75f82bb66
PUSHER_APP_KEY=268df511a204fbb60884
Expand Down
8 changes: 3 additions & 5 deletions src/libs/Environment/Environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ function getEnvironmentURL() {
/**
* Get the corresponding oldDot URL based on the environment we are in
*
* @returns {Promise}
* @returns {Promise <string>}
*/
function getOldDotEnvironmentURL() {
return new Promise((resolve) => {
getEnvironment()
.then(environment => resolve(OLDDOT_ENVIRONMENT_URLS[environment]));
});
return getEnvironment()
.then(environment => OLDDOT_ENVIRONMENT_URLS[environment]);
}

export {
Expand Down

0 comments on commit bb0e55b

Please sign in to comment.