added on more params - active
This commit is contained in:
parent
64973029cc
commit
52ec9408d2
@ -11,7 +11,7 @@ export const DirectoryRepository = {
|
||||
GetContactProfile: ( id ) => api.get( `/api/directory/profile/${ id }` ),
|
||||
|
||||
CreateNote: ( data ) => api.post( '/api/directory/note', data ),
|
||||
GetNote: ( id ) => api.get( `/api/directory/note/${ id }` ),
|
||||
GetNote: ( id,isActive ) => api.get( `/api/directory/note/${ id }?active=${isActive}` ),
|
||||
UpdateNote: ( id, data ) => api.put( `/api/directory/note/${ id }`, data ),
|
||||
DeleteNote:(id)=> api.delete(`/api/directory/note/${ id }`)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user