rename method post to delete
This commit is contained in:
parent
04d64e57c9
commit
c77dc76079
@ -11,7 +11,7 @@ export const DirectoryRepository = {
|
|||||||
GetBucktes: () => api.get( `/api/directory/buckets` ),
|
GetBucktes: () => api.get( `/api/directory/buckets` ),
|
||||||
CreateBuckets: ( data ) => api.post( `/api/Directory/bucket`, data ),
|
CreateBuckets: ( data ) => api.post( `/api/Directory/bucket`, data ),
|
||||||
UpdateBuckets: ( id, data ) => api.put( `/api/Directory/bucket/${ id }`, data ),
|
UpdateBuckets: ( id, data ) => api.put( `/api/Directory/bucket/${ id }`, data ),
|
||||||
DeleteBucket:(id)=>api.post(`/api/directory/bucket/${id}`),
|
DeleteBucket:(id)=>api.delete(`/api/directory/bucket/${id}`),
|
||||||
|
|
||||||
GetContactProfile: ( id ) => api.get( `/api/directory/profile/${ id }` ),
|
GetContactProfile: ( id ) => api.get( `/api/directory/profile/${ id }` ),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user