Skip to content

Commit

Permalink
fix : 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
beakgugong committed Dec 8, 2023
1 parent 8b1a398 commit bc352b8
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 bc352b8

Please sign in to comment.