Test fix for ext deletion
This commit is contained in:
parent
41e80eebf9
commit
44ff217949
|
@ -70,7 +70,12 @@ class FreepbxManager {
|
||||||
extensionId: ext.match(/\d+/)[0],
|
extensionId: ext.match(/\d+/)[0],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
try {
|
||||||
return await this.pbxCall(query, variables);
|
return await this.pbxCall(query, variables);
|
||||||
|
} catch (err) {
|
||||||
|
console.error("Failed to fetch extension:", err);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async listExtensions() {
|
async listExtensions() {
|
||||||
|
|
Loading…
Reference in a new issue