mirror of
https://github.com/dergigi/boris.git
synced 2026-02-07 16:14:39 +01:00
debug: add log before fetchProfiles call to verify it's being invoked
This commit is contained in:
@@ -174,6 +174,7 @@ export function useProfileLabels(content: string, relayPool?: RelayPool | null):
|
||||
if (pubkeysToFetch.length > 0 && relayPool && eventStore) {
|
||||
const pubkeysToFetchSet = new Set(pubkeysToFetch)
|
||||
console.log(`[profile-labels] Fetching ${pubkeysToFetch.length} profiles from relays`)
|
||||
console.log(`[profile-labels] Calling fetchProfiles with relayPool and ${pubkeysToFetch.length} pubkeys`)
|
||||
fetchProfiles(relayPool, eventStore as unknown as IEventStore, pubkeysToFetch)
|
||||
.then((fetchedProfiles) => {
|
||||
console.log(`[profile-labels] Fetch completed, received ${fetchedProfiles.length} profiles`)
|
||||
|
||||
Reference in New Issue
Block a user