Another Fix

This commit is contained in:
Christopher Cookman 2025-11-18 12:19:39 -07:00
parent 55515da30d
commit cdaf08b449

View file

@ -168,8 +168,8 @@ class FreepbxManager {
}`; }`;
const variables = { const variables = {
ext,
name, name,
ext
}; };
return await this.pbxCall(query, variables); return await this.pbxCall(query, variables);
@ -180,7 +180,7 @@ class FreepbxManager {
const query = gql` const query = gql`
mutation updateExt($ext: ID!, $name: String, $password: String) { mutation updateExt($ext: ID!, $name: String, $password: String) {
updateExtension(input: { updateExtension(input: {
name: $name name: test
extensionId: $ext extensionId: $ext
extPassword: $password extPassword: $password
}) { }) {
@ -190,7 +190,7 @@ class FreepbxManager {
}`; }`;
const variables = { const variables = {
ext, ext,
password, password
}; };
return await this.pbxCall(query, variables); return await this.pbxCall(query, variables);
} }