Skip to content

Commit

Permalink
chore : errorhandle
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuna committed Jul 14, 2024
1 parent 1aede3a commit 9e4f64b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/bug/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import apiError from "@/hook/errorHandling";
interface BugProp {
title: string;
content: string;
file_name: string;
file_name: string[];
}

export const BugPost = () => {
Expand All @@ -16,6 +16,7 @@ export const BugPost = () => {
await instance.post(`/bug/message`, {
title: param.title,
content: param.content,
model: "WEB",
file_name: param.file_name,
});
} catch (error) {
Expand Down

0 comments on commit 9e4f64b

Please sign in to comment.