yourname 5 months ago
parent
commit
b0b17336e7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/server/data-source.ts
  2. 1 1
      src/server/modules/customers/customer.entity.ts

+ 1 - 1
src/server/data-source.ts

@@ -16,7 +16,7 @@ export const AppDataSource = new DataSource({
   host: 'localhost',
   port: 3306,
   username: 'root',
-  password: 'password',
+  password: '',
   database: 'crm',
   entities: [
     Customer,

+ 1 - 1
src/server/modules/customers/customer.entity.ts

@@ -1,6 +1,6 @@
 import { Entity, PrimaryGeneratedColumn, Column, OneToMany } from 'typeorm';
 import { z } from '@hono/zod-openapi';
-import { Contact } from '../contacts/contact.entity';
+import { Contact } from '@/server/modules/contacts/contact.entity';
 import { Opportunity } from '@/server/modules/opportunities/opportunity.entity';
 import { Contract } from '@/server/modules/contracts/contract.entity';
 import { Ticket } from '@/server/modules/tickets/ticket.entity';