mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-01-18 18:39:52 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
fe07053c39
1 changed files with 1 additions and 1 deletions
|
@ -30,4 +30,4 @@ AnalyticsLogEventSchema.statics.logEvent = (user, event, properties={}) ->
|
|||
|
||||
analyticsMongoose = mongoose.createConnection "mongodb://#{config.mongo.analytics_host}:#{config.mongo.analytics_port}/#{config.mongo.analytics_db}"
|
||||
|
||||
module.exports = AnalyticsLogEvent = analyticsMongoose.model(config.mongo.analytics_collection, AnalyticsLogEventSchema)
|
||||
module.exports = AnalyticsLogEvent = analyticsMongoose.model('analytics.log.event', AnalyticsLogEventSchema, config.mongo.analytics_collection)
|
||||
|
|
Loading…
Reference in a new issue