Skip to content

Commit

Permalink
[Fix]LikeLion-at-DGU#27 - API 연결 test 및 기존 API 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaem03 committed Oct 4, 2024
1 parent a34fb46 commit c3ab745
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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
1 change: 0 additions & 1 deletion src/pages/booth/BoothPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { TopBar } from "@components/topBar/TopBar";
import { Modal } from "@components/modal/Modal";
import { useBoothData } from "../../hook/useBooth";
import BoothData from "../../../src/boothdata/Boothdata";
import LinenowLogo from "../../assets/images/LinenowLogo.png";
import nonselect_GI from "../../assets/images/nonselect_GI.png";
import nonselect_JU from "../../assets/images/nonselect_JU.png";
import select_GI from "../../assets/images/select_GI.png";
Expand Down

0 comments on commit c3ab745

Please sign in to comment.