summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-01-31 02:29:36 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-01-31 02:29:35 +0900
commitb8a7468c4a7b0bca76cfe89bd7fd7527c4c9199a (patch)
treef375d88039a6bfeb9a29f8a6422f0e45cb936c57 /src/remote/activitypub/renderer
parentRe-fix path (diff)
downloadsharkey-b8a7468c4a7b0bca76cfe89bd7fd7527c4c9199a.tar.gz
sharkey-b8a7468c4a7b0bca76cfe89bd7fd7527c4c9199a.tar.bz2
sharkey-b8a7468c4a7b0bca76cfe89bd7fd7527c4c9199a.zip
Do not import as pack from AP renderer (#4048)
* Do not import as pack from AP renderer * rename
Diffstat (limited to 'src/remote/activitypub/renderer')
-rw-r--r--src/remote/activitypub/renderer/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/index.ts b/src/remote/activitypub/renderer/index.ts
index 30f5f1cff5..2fd5d34597 100644
--- a/src/remote/activitypub/renderer/index.ts
+++ b/src/remote/activitypub/renderer/index.ts
@@ -1,7 +1,7 @@
import config from '../../../config';
import * as uuid from 'uuid';
-export default (x: any) => {
+export const renderActivity = (x: any) => {
if (x == null) return null;
if (x !== null && typeof x === 'object' && x.id == null) {