update .getRecord

This commit is contained in:
Philipp Kunz 2016-05-25 06:32:56 +02:00
parent f44698078e
commit e99d597c12

View File

@ -33,6 +33,7 @@ export class CflareAccount {
}
getRecord(domainNameArg:string,typeArg:string){
let done = plugins.q.defer();
let domain = new plugins.smartstring.Domain(domainNameArg);
this.listRecords(domainNameArg)
.then((responseArg) => {
let filteredResponse = responseArg.result.filter((recordArg) => {