fix imports

This commit is contained in:
Phillip Thelen
2025-09-04 14:37:42 +02:00
parent 2c7f6fd9e3
commit d952239d35
41 changed files with 31 additions and 59 deletions

View File

@@ -261,8 +261,8 @@ async function updateUserData (data) {
}
const toUpdate = {
..._formatUserData(user),
...properties
}
...properties,
};
return _updateProperties(toUpdate, user._id);
}
@@ -271,7 +271,7 @@ async function updateUserData (data) {
const mockAnalyticsService = {
track: () => { },
trackPurchase: () => { },
updateUserData: () => { }
updateUserData: () => { },
};
// Return the production or mock service based on the current environment
@@ -280,7 +280,7 @@ function getServiceByEnvironment () {
return {
track,
trackPurchase,
updateUserData
updateUserData,
};
}
return mockAnalyticsService;