Skip to content

Commit

Permalink
[Fix] TournamentInfo 날짜 타입 수정 #1104
Browse files Browse the repository at this point in the history
  • Loading branch information
Clearsu committed Nov 22, 2023
1 parent 5c207f0 commit fe186a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pages/api/pingpong/tournament/dummyTournamentData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ for (let i = 28; i >= 1; i--) {
tournamentId: i * 2,
title: `${i}회 루키 토너먼트`,
contents: '블라블라',
startTime: new Date(),
endTime: new Date(),
startTime: new Date().toString(),
endTime: new Date().toString(),
status: status,
type: 'ROOKIE',
winnerIntraId: users[i % 3].intraId,
Expand All @@ -49,8 +49,8 @@ for (let i = 28; i >= 1; i--) {
tournamentId: i * 2 - 1,
title: `${i}회 마스터 토너먼트`,
contents: '블라블라',
startTime: new Date(),
endTime: new Date(),
startTime: new Date().toString(),
endTime: new Date().toString(),
status: status,
type: 'MASTER',
winnerIntraId: users[i % 3].intraId,
Expand Down
4 changes: 2 additions & 2 deletions types/tournamentTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export interface TournamentInfo {
type: 'CUSTOM' | 'MASTER' | 'ROOKIE';
winnerIntraId: string;
winnerImageUrl: string;
startTime: Date;
endTime: Date;
startTime: string;
endTime: string;
player_cnt: number;
}

Expand Down

0 comments on commit fe186a7

Please sign in to comment.