-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #962 from 42organization/GGFE-213-일반랭킹트로피메인
[GGFE-213] 메인에서 일반랭커보여주는 버그 수정
- Loading branch information
Showing
5 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { RankMain, userImages } from 'types/rankTypes'; | ||
import type { NextApiRequest, NextApiResponse } from 'next'; | ||
|
||
export default function handler( | ||
req: NextApiRequest, | ||
res: NextApiResponse<RankMain> | ||
) { | ||
const userImages: userImages[] = [ | ||
{ | ||
intraId: 'jeyoonnormal', | ||
userImageUri: '/image/fallBackSrc.jpeg', | ||
tierImageUri: '/image/fallBackSrc.jpeg', | ||
edge: 'COLOR2', | ||
}, | ||
{ | ||
intraId: 'hyobicho', | ||
userImageUri: '/image/fallBackSrc.jpeg', | ||
tierImageUri: '/image/fallBackSrc.jpeg', | ||
edge: 'COLOR3', | ||
}, | ||
{ | ||
intraId: 'hyungipa', | ||
userImageUri: '/image/fallBackSrc.jpeg', | ||
tierImageUri: '/image/fallBackSrc.jpeg', | ||
edge: 'COLOR4', | ||
}, | ||
]; | ||
|
||
const RankData: RankMain = { | ||
rankList: userImages, | ||
}; | ||
|
||
res.status(200).json(RankData); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters