checkSpecificIntegration method added
This commit is contained in:
parent
e2c67a1c5e
commit
e7f0eb30d7
1 changed files with 4 additions and 0 deletions
|
|
@ -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]*\}/);
|
||||
|
|
|
|||
Loading…
Reference in a new issue