KiDxS / GateKeeper

Found the usage of undeclared variables JS-0125
Bug risk
Critical
a year agoa year old
'process' is not defined To fix this, add nodejs in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 1const baseURL = process.env.REACT_APP_BASE_URL;
 2const apiURL = process.env.REACT_APP_API_URL; 3export const api = {
 4    retrieve_all_ssh_keypairs: apiURL + "/api/v1/key",
 5    change_password: apiURL + "/api/v1/user/change-password",
'process' is not defined To fix this, add nodejs in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 1const baseURL = process.env.REACT_APP_BASE_URL; 2const apiURL = process.env.REACT_APP_API_URL;
 3export const api = {
 4    retrieve_all_ssh_keypairs: apiURL + "/api/v1/key",