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/remote | |
| 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/remote')
| -rw-r--r-- | src/remote/activitypub/request.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/request.ts b/src/remote/activitypub/request.ts index 9baab83740..366d7e19a4 100644 --- a/src/remote/activitypub/request.ts +++ b/src/remote/activitypub/request.ts @@ -1,5 +1,5 @@ import { request } from 'https'; -const { sign } = require('http-signature'); +import { sign } from 'http-signature'; import { URL } from 'url'; import * as debug from 'debug'; import * as crypto from 'crypto'; |