Skip to content

Commit

Permalink
docs: remove unnecessary await (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyydy authored Aug 17, 2022
1 parent 942dd07 commit a8ff82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/extensions/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ export class UserService {
redisServiceFactory: RedisServiceFactory;

async save() {
const redis1 = await this.redisServiceFactory.get('instance1');
const redis2 = await this.redisServiceFactory.get('instance3');
const redis1 = this.redisServiceFactory.get('instance1');
const redis2 = this.redisServiceFactory.get('instance3');

//...

Expand Down

0 comments on commit a8ff82c

Please sign in to comment.