feat: add compatibility for legacy comments
This commit is contained in:
parent
0ee93718da
commit
96abe5f24f
4 changed files with 61 additions and 24 deletions
|
|
@ -17,7 +17,6 @@ class FayanService {
|
|||
return new Array(pubkeys.length).fill(null)
|
||||
}
|
||||
const data = await res.json()
|
||||
console.log('FayanService fetched user percentiles:', data)
|
||||
return pubkeys.map((pubkey) => data[pubkey] ?? null)
|
||||
} catch {
|
||||
return new Array(pubkeys.length).fill(null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue