This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import $ from 'cafy';
|
||||
import User, { ILocalUser } from '../../../../models/user';
|
||||
import event from '../../../../stream';
|
||||
import { publishUserStream } from '../../../../stream';
|
||||
|
||||
export const meta = {
|
||||
requireCredential: true,
|
||||
@@ -25,5 +25,5 @@ export default async (params: any, user: ILocalUser) => new Promise(async (res,
|
||||
|
||||
res();
|
||||
|
||||
event(user._id, 'home_updated', home);
|
||||
publishUserStream(user._id, 'home_updated', home);
|
||||
});
|
||||
|
Reference in New Issue
Block a user