File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const connectionService = {
2424 } ,
2525
2626 updateConnection : ( { id, ...data } : UpdateConnectionRequest ) : Promise < Connection > => {
27- return axiosInstance . patch ( `connections/${ id } ` , data ) ;
27+ return axiosInstance . put ( `connections/${ id } ` , data ) ;
2828 } ,
2929
3030 deleteConnection : ( { id } : DeleteConnectionRequest ) : Promise < null > => {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const transferService = {
2424 } ,
2525
2626 updateTransfer : ( { id, ...data } : UpdateTransferRequest ) : Promise < Transfer > => {
27- return axiosInstance . patch ( `transfers/${ id } ` , data ) ;
27+ return axiosInstance . put ( `transfers/${ id } ` , data ) ;
2828 } ,
2929
3030 deleteTransfer : ( { id } : DeleteTransferRequest ) : Promise < null > => {
You can’t perform that action at this time.
0 commit comments