diff --git a/src/modules/auth/auth.controller.ts b/src/modules/auth/auth.controller.ts index a4c7430..b834254 100644 --- a/src/modules/auth/auth.controller.ts +++ b/src/modules/auth/auth.controller.ts @@ -21,5 +21,4 @@ export class AuthController { async signUp(@Body() body: CreateCustomerDto) { return this.authService.signUp(body); } - } diff --git a/src/modules/auth/auth.service.ts b/src/modules/auth/auth.service.ts index 6f08697..964dd39 100644 --- a/src/modules/auth/auth.service.ts +++ b/src/modules/auth/auth.service.ts @@ -54,6 +54,6 @@ export class AuthService { } async signUp(data: CreateCustomerDto): Promise { - return await this.customerService.save(data) + return await this.customerService.save(data); } } diff --git a/src/modules/customer/entities/customer.entity.ts b/src/modules/customer/entities/customer.entity.ts index f2740d2..782c72c 100644 --- a/src/modules/customer/entities/customer.entity.ts +++ b/src/modules/customer/entities/customer.entity.ts @@ -11,7 +11,6 @@ import { } from 'typeorm'; import * as bcrypt from 'bcrypt'; - @Entity() export class Customer { @PrimaryGeneratedColumn('uuid')