         if err
           callback err  if err
           @update $set: transactionLock: no, (err) ->
-            console.warn "Transaction lock reset failed"  if err
+            console.warn 'Transaction lock reset failed'  if err
           return
 
         { quantities } = pack
 
         op = $set: (Object.keys quantities).reduce( (memo, key) =>
-            memo["usage.#{ key }"] =
-              (@usage[key] ? 0) + quantities[key] * multiplyFactor
-            memo
-          , {})
+          memo["usage.#{ key }"] =
+            (@usage[key] ? 0) + quantities[key] * multiplyFactor
+          memo
+        , {})
 
         op.$set.transactionLock = no
 


    @isOwnedBy delegate, (err, hasTarget) =>
      return callback err  if err
      return callback { message: 'Access denied!' }  unless hasTarget

      options.shouldCreateNonce ?= yes

      @debit options, callback

  credit: ({pack}, callback) ->
    @debit { pack, multiplyFactor: -1 }, callback

  credit$: secure (client, options, callback) ->

# coffeelint: disable=no_implicit_braces
jraphical   = require 'jraphical'
payment     = require 'koding-payment'
KodingError = require '../../error'
