Skip to content

Commit

Permalink
🚑 hotfix: api URI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimd0ng committed Oct 16, 2024
1 parent 1798dd5 commit db369ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/community/community.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const useCommunityHooks = () => {
//params.latest = "";
}

const response = await sendRequest(publicIntstance, "get", "/preview", {
const response = await sendRequest(publicIntstance, "get", "/posts", {
params
});

Expand Down
2 changes: 1 addition & 1 deletion src/api/prompt/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const usePromptHook = () => {
const response = await sendRequest(
blockInstance,
"get",
`promptMethod=${promptMethod}`,
`?promptMethod=${promptMethod}`,
);
await updatePromptStructureFromApiData(response.data);
};
Expand Down

0 comments on commit db369ef

Please sign in to comment.