paricafe/src/remote/activitypub/renderer/document.ts

8 lines
164 B
TypeScript
Raw Normal View History

2018-04-01 14:15:27 -05:00
import config from '../../../conf';
2018-04-01 05:18:36 -05:00
export default ({ _id, contentType }) => ({
type: 'Document',
mediaType: contentType,
url: `${config.drive_url}/${_id}`
});