Fixed ladder match links in ladder update emails.

This commit is contained in:
Nick Winter 2015-04-10 08:17:39 -07:00
parent 611a148ddb
commit fc43803588

View file

@ -615,7 +615,7 @@ sendLadderUpdateEmail = (session, now, daysAgo) ->
log.error "Error sending ladder update email: #{err} with result #{result}" if err
urlForMatch = (match) ->
"http://codecombat.com/play/level/#{session.levelID}?team=#{session.team}&session=#{session._id}&opponent=#{match.opponents[0].sessionID}"
"http://codecombat.com/play/level/#{session.levelID}?team=#{session.team}&opponent=#{match.opponents[0].sessionID}"
onFetchedDefeatedOpponent = (err, defeatedOpponent) ->
if err