mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 09:28:35 +08:00
9 lines
193 B
JavaScript
9 lines
193 B
JavaScript
const { get } = require('lodash');
|
|
|
|
module.exports = {
|
|
Comment: {
|
|
// Get the richTextBody, or send null.
|
|
richTextBody: comment => get(comment, 'metadata.richTextBody', null),
|
|
},
|
|
};
|