Refactors domain service

This commit is contained in:
Akshay Nair
2020-10-05 14:15:28 +05:30
parent 18430f296e
commit b170074efd
4 changed files with 36 additions and 21 deletions
+2
View File
@@ -20,6 +20,8 @@ const toHostList = R.chain(data => {
const registerDomains = async ({ domainService, getDomains }) => {
const domains = await getDomains().then(toHostList);
console.log(domains);
};
const main = () => {