mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2026-02-07 15:24:20 +01:00
remove npub from params when empty
This commit is contained in:
@@ -125,6 +125,9 @@ async function send_search_request(msg) {
|
||||
users.push(pTag.asVec());
|
||||
url.searchParams.set('npub', userPubkeyBech32);
|
||||
}
|
||||
else{
|
||||
url.searchParams.delete('npub');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user