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