sureshanaparti commented on code in PR #10899:
URL: https://github.com/apache/cloudstack/pull/10899#discussion_r2177524518


##########
ui/src/api/index.js:
##########
@@ -23,18 +23,10 @@ import {
   ACCESS_TOKEN
 } from '@/store/mutation-types'
 
-export function api (command, args = {}, method = 'GET', data = {}) {

Review Comment:
   @shwstppr As discussed offline, the api method is refactored to smaller, 
separate functions to handle GET & POST calls. These new calls also indicate 
the underlying method (GET / POST) used for the API call. Also, it's better to 
have POST method calls for all non-listing, state changing APIs from UI, so 
keeping these changes as it is. Any merge conflicts / issues, we'll resolve 
them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to