Skip to content

Commit

Permalink
replace axios with apiClient in apiRequests.ts for user-ticket-info
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent 94edd58 commit 8c6ba1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/api/apiRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const updateUserInfo = async (data: object): Promise<AxiosResponse> => {
export const updateUserTicketInfo = async (
data: object
): Promise<AxiosResponse> => {
const response = await axios.post("/api/user/user-ticket-info", data, {
const response = await apiClient.post("/api/user/user-ticket-info", data, {
headers: {
"Content-Type": "application/json",
},
Expand Down

0 comments on commit 8c6ba1d

Please sign in to comment.