mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 01:41:13 +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),
|
|
},
|
|
};
|