Skip to content
Snippets Groups Projects
Commit 549bfca6 authored by lfr20's avatar lfr20
Browse files

Add a function to try to get all data from certain type, but its not working

parent 909a5e3a
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!40merge admin into develop,!37Merge sistema_admin into Update_Admin_System
......@@ -28,6 +28,12 @@ export function GetOneOfAllUrl(type , filter){
return (api)
}
export function GetAll(type){
const api = `${apiUrl}/${type}`
return (api)
}
export function GetAData(type , id){
const api = `${apiUrl}/${type}/${id}`
return (api)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment