diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-10 02:12:17 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-10 02:12:17 +0900 |
| commit | 805bc4b25433cdc3eda068ec2c7be7260381dcef (patch) | |
| tree | 6dd06376edd906dd41d4375544fb633bb99e9de2 | |
| parent | Fix bug (diff) | |
| download | sharkey-805bc4b25433cdc3eda068ec2c7be7260381dcef.tar.gz sharkey-805bc4b25433cdc3eda068ec2c7be7260381dcef.tar.bz2 sharkey-805bc4b25433cdc3eda068ec2c7be7260381dcef.zip | |
Refactor
| -rw-r--r-- | src/queue/processors/http/deliver.ts | 2 | ||||
| -rw-r--r-- | src/remote/activitypub/request.ts (renamed from src/remote/request.ts) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/queue/processors/http/deliver.ts b/src/queue/processors/http/deliver.ts index 422e355b5f..cf843fad07 100644 --- a/src/queue/processors/http/deliver.ts +++ b/src/queue/processors/http/deliver.ts @@ -1,6 +1,6 @@ import * as kue from 'kue'; -import request from '../../../remote/request'; +import request from '../../../remote/activitypub/request'; export default async (job: kue.Job, done): Promise<void> => { try { diff --git a/src/remote/request.ts b/src/remote/activitypub/request.ts index 81e7c05c73..85f43eb91d 100644 --- a/src/remote/request.ts +++ b/src/remote/activitypub/request.ts @@ -3,8 +3,8 @@ import { sign } from 'http-signature'; import { URL } from 'url'; import * as debug from 'debug'; -import config from '../config'; -import { ILocalUser } from '../models/user'; +import config from '../../config'; +import { ILocalUser } from '../../models/user'; const log = debug('misskey:activitypub:deliver'); |