public cloud widget

This commit is contained in:
SPRINX0\prochazka
2025-05-19 16:33:04 +02:00
parent 281de5196e
commit 310f8bf6f7
10 changed files with 133 additions and 31 deletions

View File

@@ -36,11 +36,13 @@ async function callRefactorSqlQueryApi(query, task, structure, dialect) {
return null;
}
function getExternalParamsWithLicense() {
function getExternalParamsWithLicense(isPost = false) {
return {
headers: {
'Content-Type': 'application/json',
},
headers: isPost
? {
'Content-Type': 'application/json',
}
: {},
};
}