update .getRecord
This commit is contained in:
parent
f44698078e
commit
e99d597c12
@ -33,6 +33,7 @@ export class CflareAccount {
|
|||||||
}
|
}
|
||||||
getRecord(domainNameArg:string,typeArg:string){
|
getRecord(domainNameArg:string,typeArg:string){
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
|
let domain = new plugins.smartstring.Domain(domainNameArg);
|
||||||
this.listRecords(domainNameArg)
|
this.listRecords(domainNameArg)
|
||||||
.then((responseArg) => {
|
.then((responseArg) => {
|
||||||
let filteredResponse = responseArg.result.filter((recordArg) => {
|
let filteredResponse = responseArg.result.filter((recordArg) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user