Skip to content

Commit

Permalink
Merge pull request #68 from Chaem03/feature/#27
Browse files Browse the repository at this point in the history
[Fix]#27 - API 연결 test 및 기존 API 수정
  • Loading branch information
Chaem03 authored Oct 4, 2024
2 parents 99d8e9d + a34fb46 commit 34a10cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apis/booth.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getBoothList = async ({
params.append("is_reservable", is_reservable);

// 파라미터들을 포함한 GET 요청
const res = await instance.get(`api/v1/booth/?${params.toString()}`);
const res = await instance.get(`/api/v1/booth/?${params.toString()}`);
console.log("booth.js에서의 res 값", res);
return res;
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/boothDetail.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { instance } from "./instance";
export const getBoothDetail = async (booth_id) => {
try {
const res = await instance.get(`api/v1/booth/detail/${booth_id}`);
const res = await instance.get(`/api/v1/booth/detail/${booth_id}`);
return res;
} catch (err) {
console.log(err);
Expand Down

0 comments on commit 34a10cb

Please sign in to comment.