complete user bank cards page (create read delete)
This commit is contained in:
@@ -11,5 +11,5 @@ type DeleteCard = {
|
||||
}
|
||||
|
||||
export const createNewCardMutation = (payload: CreateNewCard) => axiosInstance.post<any>("gps/bank-card", payload)
|
||||
export const deleteCardMutation = (payload: DeleteCard) => axiosInstance.delete<any>(`gps/bank-card/:${payload?.id}`)
|
||||
export const deleteCardMutation = (payload: DeleteCard) => axiosInstance.delete<any>(`gps/bank-card/${payload?.id}`)
|
||||
export const getUserCardsList = () => axiosInstance.get<any>("gps/bank-card")
|
||||
Reference in New Issue
Block a user