From 52d4cfb9d95a5bcc3fab67923c33d1a3c5ba0e8d Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Tue, 5 May 2015 15:31:55 +0100 Subject: [PATCH] Fix an error where mixpanel events would have the wrong uuid set on first provision. --- CHANGELOG.md | 1 + src/bootstrap.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0c7b960..97062b56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Fix an error where mixpanel events would have the wrong uuid set on first provision. [Page] * Update knexjs to ~0.8.3, which uses lodash 3 and means it will be deduplicated (reducing image size and runtime memory usage) [Page] * Stop caching config.json, avoids a race that could cause getting stuck repeatedly trying to register [Page] diff --git a/src/bootstrap.coffee b/src/bootstrap.coffee index 8bda8706..cbf5e0ec 100644 --- a/src/bootstrap.coffee +++ b/src/bootstrap.coffee @@ -54,3 +54,4 @@ module.exports = -> ]) knex('app').truncate() ]) + .return(userConfig.uuid)