           uuid: subscription.uuid
         }
 
-        recurly.updateSubscription paymentMethodId, update, (err) =>
+        recurly.updateSubscription paymentMethodId, update, (err) ->
           return callback err  if err
 
-          subscription.update $set: { quantity }, (err)->
+          subscription.update $set: { quantity }, (err) ->
             if err
             then callback err
             else callback null, subscription


  fetchCoupon: (type, callback) ->
    recurly.fetchCoupon @couponCodes[type], callback

      callback null, 'koding'
    else
      JGroup = require '../group'
      JGroup.one _id: @product.category, (err, group) ->
        callback err, unless err then group.slug

  checkQuota: (options, callback) ->
    { usage, couponCode, multiplyFactor } = options
    multiplyFactor ?= 1

    usages = for own planCode, quantity of usage
