mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix(analytics): typo
This commit is contained in:
@@ -188,7 +188,7 @@ export async function update (req, res, { isV3 = false }) {
|
|||||||
uuid: user._id,
|
uuid: user._id,
|
||||||
hitType: 'event',
|
hitType: 'event',
|
||||||
category: 'behavior',
|
category: 'behavior',
|
||||||
headers: req.headers,u
|
headers: req.headers,
|
||||||
});
|
});
|
||||||
} else if (key === 'tags') {
|
} else if (key === 'tags') {
|
||||||
if (!Array.isArray(val)) throw new BadRequest('Tag list must be an array.');
|
if (!Array.isArray(val)) throw new BadRequest('Tag list must be an array.');
|
||||||
|
|||||||
Reference in New Issue
Block a user