*return domain to not serialize ResolverModule

This commit is contained in:
Derrick Hammer 2022-08-19 12:08:51 -04:00
parent a7b6948312
commit 19deff0198
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -48,5 +48,7 @@ async function handleClear(aq: ActiveQuery) {
} }
async function handleGetResolvers(aq: ActiveQuery) { async function handleGetResolvers(aq: ActiveQuery) {
aq.respond([...resolver.resolvers.values()]); aq.respond(
[...resolver.resolvers.values()].map((resolver) => resolver.domain)
);
} }