       callback null, 'koding'
     else
       JGroup = require '../group'
-      JGroup.one _id: @product.category, (err, group)->
+      JGroup.one _id: @product.category, (err, group) ->
         callback err, unless err then group.slug
 
   checkQuota: (options, callback) ->
-    {usage, couponCode, multiplyFactor} = options
+    { usage, couponCode, multiplyFactor } = options
     multiplyFactor ?= 1
 
     usages = for own planCode, quantity of usage

JPaymentBase = require './base'

module.exports = class JPaymentPlan extends JPaymentBase

      paymentMethodId
      @planCode
      $or       : [
        { status : 'active' }
        { status : 'canceled' }
      ]
    }, (err, subscription) =>
      return callback err  if err
