diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2019-02-01 19:59:12 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2019-02-01 19:59:12 +0900 |
| commit | 40e177fa9639b1c62184a41cd9d64eecfa527f45 (patch) | |
| tree | 3e5a95006e080c3fd31d750856b363264815ef70 /src/server/activitypub.ts | |
| parent | Create type definition for 'deepcopy' (#4000) (diff) | |
| download | sharkey-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.ts | 2 |
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'; |