Skip to content

Commit

Permalink
Update bookingController.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed May 13, 2024
1 parent 0c5321a commit de92f37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/src/controllers/bookingController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ export const create = async (req: Request, res: Response) => {
* @returns {void}
*/
const notify = async (driver: env.User, bookingId: string, user: env.User, notificationMessage: string) => {
if (user.type !== movininTypes.UserType.Agency && user.type !== movininTypes.UserType.Admin) {
return
}

i18n.locale = user.language

// notification
Expand Down

0 comments on commit de92f37

Please sign in to comment.