1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 12:25:54 +02:00
This commit is contained in:
syuilo
2018-04-08 05:02:50 +09:00
parent 7f448221ce
commit 5ddb047794
6 changed files with 14 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ import { ILocalUser } from '../models/user';
const log = debug('misskey:activitypub:deliver');
export default (user: ILocalUser, url, object) => new Promise((resolve, reject) => {
export default (user: ILocalUser, url: string, object) => new Promise((resolve, reject) => {
log(`--> ${url}`);
const { protocol, hostname, port, pathname, search } = new URL(url);