File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,6 @@ UsersService:
9898``` typescript
9999import { Client } from ' pg' ;
100100import { InjectClient } from ' nest-postgres' ;
101- import { CreateUserDto } from ' ./dto/create-user.dto' ;
102- import { UpdateUserDto } from ' ./dto/update-user.dto' ;
103101
104102@Injectable ()
105103export class UsersService {
@@ -164,6 +162,10 @@ Usage example with Multi Connection
164162PostService:
165163
166164``` typescript
165+ import { Client } from ' pg' ;
166+ import { InjectConnection } from ' nest-postgres' ;
167+ import { CreatePostDto } from ' ./dto/create-post.dto' ;
168+
167169@Injectable ()
168170export class PostService {
169171 constructor (
@@ -193,6 +195,10 @@ export class PostService {
193195UsersService:
194196
195197` ` ` typescript
198+ import { Client } from ' pg' ;
199+ import { InjectConnection } from ' nest-postgres' ;
200+ import { CreateUserDto } from ' ./dto/create-user.dto' ;
201+
196202@Injectable ()
197203export class UsersService {
198204 constructor (
You can’t perform that action at this time.
0 commit comments