mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-26 12:50:31 -04:00
Fixed payments
This commit is contained in:
parent
fead762d04
commit
0ac0065753
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ PaymentHandler = class PaymentHandler extends Handler
|
|||
|
||||
sendPaymentHipChatMessage: (options) ->
|
||||
try
|
||||
message = "#{options.user?.get('name')} bought #{options.payment?.get('amount')} via #{options.payment?.get('service'}."
|
||||
message = "#{options.user?.get('name')} bought #{options.payment?.get('amount')} via #{options.payment?.get('service')}."
|
||||
hipchat.sendHipChatMessage message
|
||||
catch e
|
||||
log.error "Couldn't send HipChat message on payment because of error: #{e}"
|
||||
|
|
Loading…
Add table
Reference in a new issue