Made sure that more of the async usages are awaited (#4574)

This commit is contained in:
Frank Elsinga
2024-03-15 15:02:55 +01:00
committed by GitHub
parent a9a1cf1353
commit 0e3b3a9ab8
19 changed files with 53 additions and 53 deletions

View File

@@ -107,7 +107,7 @@ class Nostr extends NotificationProvider {
/**
* Get public keys for recipients
* @param {string} recipients Newline delimited list of recipients
* @returns {nip19.DecodeResult[]} Public keys
* @returns {Promise<nip19.DecodeResult[]>} Public keys
*/
async getPublicKeys(recipients) {
const recipientsList = recipients.split("\n");