*add missing resolveSuccess
This commit is contained in:
parent
5070b94728
commit
7e5b9e4b22
|
@ -10,6 +10,7 @@ import {
|
|||
resolverEmptyResponse,
|
||||
ResolverModule,
|
||||
ResolverOptions,
|
||||
resolveSuccess,
|
||||
} from "@lumeweb/resolver-common";
|
||||
import { getTld } from "@lumeweb/resolver-common";
|
||||
import { DNSRecord } from "@lumeweb/resolver-common";
|
||||
|
@ -112,6 +113,10 @@ export default class Handshake extends AbstractResolverModule {
|
|||
}
|
||||
}
|
||||
|
||||
if (0 < records.length) {
|
||||
return resolveSuccess(records);
|
||||
}
|
||||
|
||||
return resolverEmptyResponse();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue