public cloud search

This commit is contained in:
SPRINX0\prochazka
2025-05-20 13:04:57 +02:00
parent b4fadb39bf
commit 839b0f6f5e
6 changed files with 102 additions and 28 deletions

View File

@@ -36,14 +36,8 @@ async function callRefactorSqlQueryApi(query, task, structure, dialect) {
return null;
}
function getExternalParamsWithLicense(isPost = false) {
return {
headers: isPost
? {
'Content-Type': 'application/json',
}
: {},
};
function getLicenseHttpHeaders() {
return {};
}
module.exports = {
@@ -57,5 +51,5 @@ module.exports = {
callTextToSqlApi,
callCompleteOnCursorApi,
callRefactorSqlQueryApi,
getExternalParamsWithLicense,
getLicenseHttpHeaders,
};