call correct method to update user data

This commit is contained in:
Phillip Thelen
2025-09-18 11:15:33 +02:00
parent 5228ed40d1
commit 108bd59296

View File

@@ -59,7 +59,7 @@ api.updateUserProperties = {
const { user } = res.locals; const { user } = res.locals;
const properties = req.body; const properties = req.body;
res.analytics.track(req.params.eventName, { res.analytics.updateUserData({
user, user,
uuid: user._id, uuid: user._id,
properties, properties,