mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-20 14:15:42 +00:00
Refactors domain service
This commit is contained in:
1 parent
18430f296e
commit
b170074efd
4 files changed
+36
-21
No files matched your search
@@ -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 = () => {
|
||||
|
||||
Reference in new issue
Block a user