         sendError(robot, res, err)
 
     else if inputFirst is 'vendor'
-      for vendorHash in constants.VENDORS
+      for vendorHash in Constants.VENDORS
         getVendorSaleItemCategories(res, vendorHash).then (saleItemCategories) ->
           return
         , (err) ->


sendHelp = (robot, res) ->
  message = "Available commands are:\n"
  for command in constants.COMMANDS
    message += "`#{command}`\n"
  message += "\n#{helpText}"


      console.log 'No activity details found'
      return deferred.reject('No activity details found')

    if activityKey not in Constants.FURTHER_DETAILS
      console.log "Resolving activity details for #{activityKey}:"
      console.log activityDetails
      return deferred.resolve(activityDetails)
