mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(network): define a response handler for image deletion
This commit is contained in:
parent
2e9a117255
commit
6b8b562e7c
4 changed files with 42 additions and 11 deletions
|
@ -135,7 +135,7 @@ angular.module('uifordocker.services', ['ngResource', 'ngSanitize'])
|
|||
query: {method: 'GET', isArray: true},
|
||||
get: {method: 'GET'},
|
||||
create: {method: 'POST', params: {action: 'create'}},
|
||||
remove: {method: 'DELETE'},
|
||||
remove: { method: 'DELETE', transformResponse: deleteNetworkHandler },
|
||||
connect: {method: 'POST', params: {action: 'connect'}},
|
||||
disconnect: {method: 'POST', params: {action: 'disconnect'}}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue