Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello @Choijiw00, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 픽 페이지에서 발생하던 400 에러를 해결하는 데 중점을 둡니다. 클라이언트의 API 요청 엔드포인트가 올바르지 않아 발생했던 문제를 수정하여, 사용자가 정상적으로 상태를 저장할 수 있도록 개선했습니다. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
|
||
| try { | ||
| await api.post("/conditions", payload); | ||
| await api.post("/api/conditions", payload); |
There was a problem hiding this comment.
axios 인스턴스(api)에 이미 baseURL로 .../api가 설정되어 있습니다. 여기서 경로에 /api를 추가하면 최종 요청 URL이 .../api/api/conditions가 되어 API 명세와 달라집니다. 이로 인해 404 에러가 발생할 수 있습니다. 기존 코드처럼 /conditions 경로를 사용해야 올바른 API(.../api/conditions)를 호출할 수 있습니다.
| await api.post("/api/conditions", payload); | |
| await api.post("/conditions", payload); |
| • GitHub 이슈 및 PR 활용도 (커밋 메시지, 코드 리뷰 여부 체크 예정) | ||
| -> 이슈 20 이상, PR 27 이상 지속적인 깃허브 관리와 코드 리뷰로 로그를 체크함✅ | ||
| • Git 브랜치 전략의 적절한 사용 (Git Flow) ✅ | ||
| —- |
| 1. 데스크톱, 태블릿, 모바일 각각에 맞는 화면 구성과 상호작용을 고려한 경우 가산점 (최대 10점) | ||
| - 단순한 크기 확장(모바일 화면을 그대로 데스크톱에 표시)이나, breakpoint 없이 동일 레이아웃 유지 시에는 가산점 제외 | ||
| 2. 테스트 코드 작성 시 가산점 (최대 10점) | ||
| —- |
작업 내용
pick page 400 error 해결
변경 사항
-swipePage API url 수정
테스트