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