Improve admin dashboard

This commit is contained in:
syuilo
2018-11-03 11:38:00 +09:00
parent f9f2ca51ac
commit aadd5b95b8
10 changed files with 183 additions and 8 deletions

View File

@ -6,6 +6,7 @@ const crypto = require('crypto');
import config from '../../config';
import { ILocalUser } from '../../models/user';
import { publishApLogStream } from '../../stream';
const log = debug('misskey:activitypub:deliver');
@ -64,4 +65,13 @@ export default (user: ILocalUser, url: string, object: any) => new Promise((reso
});
req.end(data);
//#region Log
publishApLogStream({
direction: 'out',
activity: object.type,
host: null,
actor: user.username
});
//#endregion
});