Skip to content

Commit

Permalink
[#175] - Actualiza environment
Browse files Browse the repository at this point in the history
  • Loading branch information
rolivencia committed Oct 12, 2023
1 parent f385de1 commit 3c6bb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/_helpers/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
const result = dotenv.config().parsed;
export let environment;

if (!!result && result.error) {
if (!!result && !!result.parsed) {
environment = result.parsed;
environment.serverConfig = JSON.parse(result.parsed.SERVER_CONFIG);

Expand Down

0 comments on commit 3c6bb11

Please sign in to comment.