mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
feat(wondercon): apply extra.wondercon for coupon signups
This commit is contained in:
parent
803c0ae659
commit
7ab0c9fc82
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ CouponSchema.statics.apply = function(user, code, next){
|
|||
user.items.gear.owned.body_special_wondercon_red = true;
|
||||
user.items.gear.owned.body_special_wondercon_black = true;
|
||||
user.items.gear.owned.body_special_wondercon_gold = true;
|
||||
user.extra = {signupEvent: 'wondercon'};
|
||||
user.save(cb);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue