Skip to content

Commit

Permalink
Merge pull request #32 from Capstone-Richam/feature/mail
Browse files Browse the repository at this point in the history
fix : 수정
  • Loading branch information
beakgugong authored Dec 8, 2023
2 parents c237850 + bc352b8 commit 605fe55
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public class MailController {
private final MailService mailService;
private final MailManageService mailManageService;
@GetMapping("/mails")
public ResponseEntity<SuccessResponse<?>> getMail(@RequestParam Long userId, @RequestBody Map<String,String> type) {
public ResponseEntity<SuccessResponse<?>> getMail(@RequestParam Long userId, @RequestParam String type) {
MailList mailList;
String platform = type.get("platform");
String platform = type;

if(platform.equals("naver")) {
mailList = mailService.getNaverMail(userId);
Expand Down

0 comments on commit 605fe55

Please sign in to comment.