smartdata/ts/smartdata.mongohelpers.ts

8 lines
287 B
TypeScript
Raw Normal View History

2020-06-11 23:05:32 +00:00
export const addUsername = (mongoUrlArg: string, usernameArg: string): string => {
return mongoUrlArg.replace('<USERNAME>', usernameArg);
};
export const addPassword = (mongoUrlArg: string, passwordArg: string): string => {
return mongoUrlArg.replace('<PASSWORD>', passwordArg);
};