mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 04:05:59 +00:00
public cloud search
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user