mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
chore(testing): enable non prod analytics
This commit is contained in:
@@ -353,14 +353,10 @@ const mockAnalyticsService = {
|
||||
|
||||
// Return the production or mock service based on the current environment
|
||||
function getServiceByEnvironment () {
|
||||
if (nconf.get('IS_PROD')) {
|
||||
return {
|
||||
track,
|
||||
trackPurchase,
|
||||
};
|
||||
}
|
||||
|
||||
return mockAnalyticsService;
|
||||
return {
|
||||
track,
|
||||
trackPurchase,
|
||||
};
|
||||
}
|
||||
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user