Promo code creation

I'm no good at coffeescript, but this doesn't look right to me; does it actually need the brackets around `data`?