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 0ab4c78 commit 695de05
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 (!("error" in result)) {
if (!!result.error) {
environment = result.parsed;
environment.serverConfig = JSON.parse(result.parsed.SERVER_CONFIG);

Expand Down

0 comments on commit 695de05

Please sign in to comment.