added add card API

This commit was merged in pull request #65.
This commit is contained in:
victorAnumudu
2024-08-05 20:02:21 +01:00
parent cb23cbd57c
commit 69c43e1d88
9 changed files with 105 additions and 9 deletions
+9
View File
@@ -48,4 +48,13 @@ export const getEmployersList = () => {
// customer_uid: localStorage.getItem('uid'),
}
return getAuxEnd(`/employers`, reqData)
}
// FUNCTION TO ADD CARD
export const addCard = (postData:any) => {
let reqData = {
uid: localStorage.getItem('uid'),
...postData
}
return postAuxEnd('/addcard', reqData)
}