Skip to content

Commit

Permalink
Fix :: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseong0412 committed Jan 6, 2024
1 parent a75e7e4 commit 92a45ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/miracle/azure/ChatGPTController.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ public class ChatGPTController {

private final ChatGPTService chatGPTService;

@PostMapping("/data")
@PostMapping("/file")
public Object createFile(@RequestPart("file") MultipartFile multipartFile) throws IOException {
return chatGPTService.createFile(multipartFile);
}

@PostMapping("/file")
@PostMapping("/data")
public Object createData(@RequestBody MessageRequest massageRequest) throws JsonProcessingException {
return chatGPTService.createData(massageRequest);
}
Expand Down

0 comments on commit 92a45ce

Please sign in to comment.