mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-28 01:00:59 +01:00
feat(vip): set user status to normal when become a vip
This commit is contained in:
@@ -359,6 +359,7 @@ exports.addVIPMonths = function (req, res) {
|
||||
|
||||
user.vip_start_at = start;
|
||||
user.vip_end_at = end;
|
||||
user.status = 'normal';
|
||||
|
||||
user.save(function (err) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user