*Remove duplicate validation
This commit is contained in:
parent
d2e154efd2
commit
e8f632299b
|
@ -34,11 +34,6 @@ async function handleDiscover(aq: ActiveQuery): Promise<void> {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!("pubkey" in aq.callerInput)) {
|
||||
aq.reject("pubkey required");
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
"options" in aq.callerInput &&
|
||||
typeof aq.callerInput.options !== "object"
|
||||
|
|
Loading…
Reference in New Issue