Open regular opened 2 years ago
Here the string 'about' is harcoded. https://github.com/ssbc/ssb-social-index/blob/23beb7f11b02f511d8e7415b250003dc7b7138d6/index.js#L227
Can this be correct? I struggle to use this module for a different purpose (not using "about" as destField). Can this be the cause?
Yeah we should remove the hard coding. It should be using Buffer.from(options.type)
Buffer.from(options.type)
Here the string 'about' is harcoded. https://github.com/ssbc/ssb-social-index/blob/23beb7f11b02f511d8e7415b250003dc7b7138d6/index.js#L227
Can this be correct? I struggle to use this module for a different purpose (not using "about" as destField). Can this be the cause?