mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
remove npub from params when empty
This commit is contained in:
parent
969ecb7a6f
commit
855b8a77a5
@ -125,6 +125,9 @@ async function send_search_request(msg) {
|
||||
users.push(pTag.asVec());
|
||||
url.searchParams.set('npub', userPubkeyBech32);
|
||||
}
|
||||
else{
|
||||
url.searchParams.delete('npub');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user