mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
17 lines
500 B
CoffeeScript
17 lines
500 B
CoffeeScript
config = require '../server_config'
|
|
sendwithusAPI = require 'sendwithus'
|
|
swuAPIKey = config.mail.sendwithusAPIKey
|
|
queues = require './commons/queue'
|
|
|
|
module.exports.setupRoutes = (app) ->
|
|
return
|
|
|
|
|
|
debug = not config.isProduction
|
|
module.exports.api = new sendwithusAPI swuAPIKey, debug
|
|
if config.unittest
|
|
module.exports.api.send = ->
|
|
module.exports.templates =
|
|
welcome_email: 'utnGaBHuSU4Hmsi7qrAypU'
|
|
ladder_update_email: 'JzaZxf39A4cKMxpPZUfWy4'
|
|
patch_created: 'tem_xhxuNosLALsizTNojBjNcL'
|