Skip to content

Commit

Permalink
style: remove redundant space in redis key
Browse files Browse the repository at this point in the history
  • Loading branch information
domingo1021 committed Jul 11, 2024
1 parent 12e2a8b commit 0315938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/hero/hero.repository.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class HeroRepositoryImpl implements HeroRepository {
* @throws {InternalServerErrorException}
*/
async getHeroWithProfileById(id: string): Promise<Hero> {
const key = `${this.GET_HERO_WITH_PROFILE_BY_ID_KEY}${id} `;
const key = `${this.GET_HERO_WITH_PROFILE_BY_ID_KEY}${id}`;
const cachedHero = await this.cacheService.get<string>(key);
if (cachedHero) {
return JSON.parse(cachedHero);
Expand Down

0 comments on commit 0315938

Please sign in to comment.