wip
This commit is contained in:
parent
9a282e37be
commit
718060dc85
61 changed files with 132 additions and 119 deletions
|
|
@ -6,7 +6,7 @@ import * as uuid from 'uuid';
|
|||
import autwh from 'autwh';
|
||||
import redis from '../../db/redis';
|
||||
import User from '../models/user';
|
||||
import serialize from '../serializers/user';
|
||||
import { pack } from '../models/user';
|
||||
import event from '../event';
|
||||
import config from '../../conf';
|
||||
import signin from '../common/signin';
|
||||
|
|
@ -50,7 +50,7 @@ module.exports = (app: express.Application) => {
|
|||
res.send(`Twitterの連携を解除しました :v:`);
|
||||
|
||||
// Publish i updated event
|
||||
event(user._id, 'i_updated', await serialize(user, user, {
|
||||
event(user._id, 'i_updated', await pack(user, user, {
|
||||
detail: true,
|
||||
includeSecrets: true
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue