[fix]: Parameters issue on queries (#518)

* Added authorization header from our side (overriding the got) (#509)

* Added authorization header from ourside

* Console log typo

* Added requestURL and authorization header changes

* Added some PR changes

* Added comments

* Added a parameters back to the state which is passed from the function call

---------

Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
This commit is contained in:
Kavin Venkatachalam 2024-07-16 16:27:46 +05:30 committed by Kavin Venkatachalam
parent 78db56f74c
commit fc90a25b52

View file

@ -169,6 +169,10 @@ export function resolveReferences(
const state = useCurrentStateStore.getState(); //!state=currentstate => The state passed down as an argument retains the previous state.
if (_state.parameters) {
state.parameters = { ..._state.parameters };
}
switch (objectType) {
case 'string': {
if (object.includes('{{') && object.includes('}}') && object.includes('%%') && object.includes('%%')) {