Skip to content

Commit 0e6e213

Browse files
committed
regis exist deviced id
1 parent c6b9b3e commit 0e6e213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/domain/use-cases/purchasing/register-user-purchasing.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class RegisterUserPurchasingUseCase
2626
return { invalidEmail: 'Email tidak terdaftar' }
2727
}
2828

29-
if (checkEmail.deviced_id) {
29+
if (checkEmail.deviced_id == data.deviced_id) {
3030
return {
3131
existDeviceId: 'Device Id anda sudah terdaftar',
3232
}

0 commit comments

Comments
 (0)