diff --git a/package.json b/package.json index a2da845..a4cb5e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "brainbox-backend", - "version": "1.8.0", + "version": "1.8.1", "description": "Backend for BrainBox", "author": "lzaycoe (Lazy Code)", "private": true, diff --git a/src/domains/withdrawals/withdrawals.service.ts b/src/domains/withdrawals/withdrawals.service.ts index 617f8c5..3646ee0 100644 --- a/src/domains/withdrawals/withdrawals.service.ts +++ b/src/domains/withdrawals/withdrawals.service.ts @@ -124,7 +124,9 @@ export class WithdrawalsService { dto.status === 'approved' ? '[BrainBox] Withdrawal Request Approved' : '[BrainBox] Withdrawal Request Rejected'; - const teacherName = teacher.first_name + ' ' + teacher.last_name; + const teacherName = teacher.firstName + ' ' + teacher.lastName; + + this.logger.debug('Teacher Name', teacherName); const amount = new Intl.NumberFormat('vi-VN', { style: 'currency', currency: 'VND',