mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
Fix bug
This commit is contained in:
parent
d05bf07b3f
commit
eca2bde48f
1 changed files with 12 additions and 12 deletions
|
@ -212,21 +212,21 @@ db.users.update({}, {
|
||||||
pinned_post_id: 'pinnedPostId',
|
pinned_post_id: 'pinnedPostId',
|
||||||
is_suspended: 'isSuspended',
|
is_suspended: 'isSuspended',
|
||||||
host_lower: 'hostLower',
|
host_lower: 'hostLower',
|
||||||
'twitter.access_token': 'twitter.accessToken',
|
'account.last_used_at': 'account.lastUsedAt',
|
||||||
'twitter.access_token_secret': 'twitter.accessTokenSecret',
|
'account.is_bot': 'account.isBot',
|
||||||
'twitter.user_id': 'twitter.userId',
|
'account.is_pro': 'account.isPro',
|
||||||
'twitter.screen_name': 'twitter.screenName',
|
'account.two_factor_secret': 'account.twoFactorSecret',
|
||||||
'line.user_id': 'line.userId',
|
'account.two_factor_enabled': 'account.twoFactorEnabled',
|
||||||
last_used_at: 'lastUsedAt',
|
'account.client_settings': 'account.clientSettings'
|
||||||
is_bot: 'isBot',
|
|
||||||
is_pro: 'isPro',
|
|
||||||
two_factor_secret: 'twoFactorSecret',
|
|
||||||
two_factor_enabled: 'twoFactorEnabled',
|
|
||||||
client_settings: 'clientSettings'
|
|
||||||
},
|
},
|
||||||
$unset: {
|
$unset: {
|
||||||
likes_count: '',
|
likes_count: '',
|
||||||
liked_count: '',
|
liked_count: '',
|
||||||
latest_post: ''
|
latest_post: '',
|
||||||
|
'account.twitter.access_token': '',
|
||||||
|
'account.twitter.access_token_secret': '',
|
||||||
|
'account.twitter.user_id': '',
|
||||||
|
'account.twitter.screen_name': '',
|
||||||
|
'account.line.user_id': ''
|
||||||
}
|
}
|
||||||
}, false, true);
|
}, false, true);
|
||||||
|
|
Loading…
Reference in a new issue