File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import {
2424} from '@/store/mutation-types'
2525
2626const getAPICommandsRegex = / ^ ( g e t | l i s t | q u e r y | f i n d ) \w + $ / i
27- const addlGetAPICommandsList = [
27+ const additionalGetAPICommandsList = [
2828 'isaccountallowedtocreateofferingswithtags' ,
2929 'readyforshutdown' ,
3030 'cloudianisenabled' ,
@@ -78,7 +78,7 @@ export function postAPI (command, data = {}) {
7878}
7979
8080export function callAPI ( command , args = { } ) {
81- const isGetAPICommand = getAPICommandsRegex . test ( command ) || addlGetAPICommandsList . includes ( command . toLowerCase ( ) )
81+ const isGetAPICommand = getAPICommandsRegex . test ( command ) || additionalGetAPICommandsList . includes ( command . toLowerCase ( ) )
8282 const call = isGetAPICommand ? getAPI : postAPI
8383 return call ( command , args )
8484}
You can’t perform that action at this time.
0 commit comments