Refactor
This commit is contained in:
7
src/remote/activitypub/renderer/document.ts
Normal file
7
src/remote/activitypub/renderer/document.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import config from '../../../conf';
|
||||
|
||||
export default ({ _id, contentType }) => ({
|
||||
type: 'Document',
|
||||
mediaType: contentType,
|
||||
url: `${config.drive_url}/${_id}`
|
||||
});
|
Reference in New Issue
Block a user