checkSpecificIntegration method added

This commit is contained in:
Mic 2025-09-04 22:31:00 +02:00
parent e2c67a1c5e
commit e7f0eb30d7

View file

@ -578,6 +578,10 @@ export function getActiveSpecialPromptsIDs(args = {}) {
return output;
}
export function checkSpecificIntegration(use, conntype){
return use && (conntype != null) && (conntype !== '');
}
export function extractJsonObject(inputString) {
try {
const jsonMatch = inputString.match(/\{[\s\S]*\}/);