Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getDriver() {
/*Get a default driver based on hard coded credential above
TODO: remove or make this configurable through env vars or...
*/
var uri = DEFAULT_DRIVER.uri;
var usr = DEFAULT_DRIVER.user;
var pwd = DEFAULT_DRIVER.password;
return neo4j.v1.driver(
uri,
neo4j.v1.auth.basic(
usr,
pwd
)
);
};
export const NewApp = () => (
{
return [
,
getDriver() {
/*Get a default driver based on hard coded credential above
TODO: remove or make this configurable through env vars or...
*/
var uri = DEFAULT_DRIVER.uri;
var usr = DEFAULT_DRIVER.user;
var pwd = DEFAULT_DRIVER.password;
return neo4j.v1.driver(
uri,
neo4j.v1.auth.basic(
usr,
pwd
)
);
};