What is Nostr?
Anthony Accioly
npub1a6w…0tyc
2024-11-22 01:32:43
in reply to nevent1q…6yd9

Anthony Accioly on Nostr: Also, apparently khatru may be returning invalid json for the list array: ...

Also, apparently khatru may be returning invalid json for the list array:

#asknostr #khatru fiatjaf (npub180c…h6w6)

I think i found another bug, but need confirmation: https://github.com/fiatjaf/khatru/blob/master/blossom/handlers.go#L260C0-L262C3

the "handleList" method returns a list that is not a valid json. It is missing the commas separating each element on the list. Is it the expected result, or should it be a valid json?


hzrd149 (nprofile…5pxf), just to confirm, this should be a proper json array with commas between elements right? Can you check girino (nprofile…w5us) example? (If it needs fixing I rather fix khatru first before releasing the next version of Haven)
Author Public Key
npub1a6we08n7zsv2na689whc9hykpq4q6sj3kaauk9c2dm8vj0adlajq7w0tyc