added products endpoint and implement login input fields max length
This commit was merged in pull request #7.
This commit is contained in:
@@ -74,6 +74,30 @@ export const getSubscriptions = (reqData) => {
|
||||
return getAuxEnd(`/subcriptions`, postData)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET RIGHT SIDEBAR DATA
|
||||
export const getRightSidebar = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
return getAuxEnd(`/right-sidebar`, postData)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET RECENT SIGNUP DATA
|
||||
export const getRecentSignup = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
return getAuxEnd(`/recent-signup`, postData)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET PRODUCTS DATA
|
||||
export const getProducts = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
return getAuxEnd(`/products`, postData)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET USERS DATA
|
||||
export const getUsers = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
return getAuxEnd(`/users`, postData)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user