bug 7422 : Register Template/ISO response would include domain name as well.

status 7422: resolved fixed
This commit is contained in:
nit 2010-12-06 13:30:23 +05:30
parent 94cb30a745
commit c81f010a21
1 changed files with 2 additions and 0 deletions

View File

@ -1584,6 +1584,7 @@ public class ApiResponseHelper implements ResponseGenerator {
templateResponse.setAccountId(owner.getId());
templateResponse.setAccount(owner.getAccountName());
templateResponse.setDomainId(owner.getDomainId());
templateResponse.setDomainName(ApiDBUtils.findDomainById(owner.getDomainId()).getName());
}
templateResponse.setZoneId(zone.getId());
@ -1633,6 +1634,7 @@ public class ApiResponseHelper implements ResponseGenerator {
templateResponse.setAccountId(owner.getId());
templateResponse.setAccount(owner.getAccountName());
templateResponse.setDomainId(owner.getDomainId());
templateResponse.setDomainName(ApiDBUtils.findDomainById(owner.getDomainId()).getName());
}
templateResponse.setZoneId(zone.getId());