Skip to content

Commit

Permalink
Update lookup.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelew committed Feb 6, 2024
1 parent 99a05b3 commit df59dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/routers/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const lookupRouter = createTRPCRouter({
return ip && parseDomain(ip).type === ParseResultType.Ip;
})
.map((p) => {
const ip = p.value.numeric_host!;
const ip = p.value.numeric_host!.replace(')', '');
return {
ip,
subdomain: p.value.inputHost,
Expand Down

0 comments on commit df59dbc

Please sign in to comment.