req
parent
9c687d355c
commit
afe5f7b18d
|
@ -120,7 +120,6 @@ export async function AddEmployee(req: Request, res: Response) {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
pass: process.env.TERMIN_PLANNER_AUTHORIZATION_PASSWORD as string,
|
pass: process.env.TERMIN_PLANNER_AUTHORIZATION_PASSWORD as string,
|
||||||
})
|
})
|
||||||
.then((res) => console.log(res))
|
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
logger.info("err %s", err);
|
logger.info("err %s", err);
|
||||||
});
|
});
|
||||||
|
@ -381,7 +380,6 @@ export async function DeleteEmployee(req: Request, res: Response) {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
pass: process.env.TERMIN_PLANNER_AUTHORIZATION_PASSWORD as string,
|
pass: process.env.TERMIN_PLANNER_AUTHORIZATION_PASSWORD as string,
|
||||||
})
|
})
|
||||||
.then((res) => console.log(res))
|
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
logger.info("err %s", err);
|
logger.info("err %s", err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue