Skip to content

Commit

Permalink
fix: 레디스 조회시 결과 JSON 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
w8385 committed Feb 14, 2024
1 parent cd3bc48 commit 345714a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/poker/poker.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class PokerService {
async getAll() {
let keys = await this.redisClient.keys('*');
keys = keys.filter((key) => key !== 'recent');
keys = keys.filter((key) => !key.startsWith('result_'));

const pokers = [];
for (const key of keys) {
Expand Down

0 comments on commit 345714a

Please sign in to comment.