Skip to content

Commit

Permalink
Merge pull request #82 from LikeLion-at-DGU/develop
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
Chaem03 authored Oct 4, 2024
2 parents 0d2623e + c54d357 commit 842984d
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 @@ -20,7 +20,7 @@ export const getBoothList = async (
// 쿼리 파라미터가 있을 경우 URL에 추가
const queryString = params.length > 0 ? `?${params.join("&")}` : "";

const res = await instance.get(`api/v1/booth/${queryString}`);
const res = await instance.get(`/api/v1/booth/${queryString}`);
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 842984d

Please sign in to comment.