summaryrefslogtreecommitdiff
path: root/src/server/activitypub.ts
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-01 19:59:12 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2019-02-01 19:59:12 +0900
commit40e177fa9639b1c62184a41cd9d64eecfa527f45 (patch)
tree3e5a95006e080c3fd31d750856b363264815ef70 /src/server/activitypub.ts
parentCreate type definition for 'deepcopy' (#4000) (diff)
downloadsharkey-40e177fa9639b1c62184a41cd9d64eecfa527f45.tar.gz
sharkey-40e177fa9639b1c62184a41cd9d64eecfa527f45.tar.bz2
sharkey-40e177fa9639b1c62184a41cd9d64eecfa527f45.zip
Create type definition for 'http-signature' (#4049)
* Create type definition for 'http-signature' * Follow lint
Diffstat (limited to 'src/server/activitypub.ts')
-rw-r--r--src/server/activitypub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts
index 30dc6395e0..20a8ee9794 100644
--- a/src/server/activitypub.ts
+++ b/src/server/activitypub.ts
@@ -1,7 +1,7 @@
import { ObjectID } from 'mongodb';
import * as Router from 'koa-router';
const json = require('koa-json-body');
-const httpSignature = require('http-signature');
+import * as httpSignature from 'http-signature';
import { createHttpJob } from '../queue';
import { renderActivity } from '../remote/activitypub/renderer';