mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix(analytics): typo
This commit is contained in:
parent
b63f2fa1fa
commit
deebc09a79
1 changed files with 1 additions and 1 deletions
|
|
@ -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.');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue