Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
remove custom timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
vitJR1 committed Aug 5, 2024
1 parent 803d306 commit 6d4367a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions src/services/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ export class UsersService {
}

async findOne(id: string): Promise<Observable<User>> {
return this.usersProvider.sendWithTimeout<User, ID>(
'findOneUser',
{ id },
3000,
);
return this.usersProvider.sendWithTimeout<User, ID>('findOneUser', { id });
}

async update(
Expand Down

0 comments on commit 6d4367a

Please sign in to comment.