forked from github/plane
fix: tracker not creating user alias (#683)
This commit is contained in:
parent
1b30e4b57f
commit
150553d420
@ -37,15 +37,12 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
// TODO: cache user info
|
// TODO: cache user info
|
||||||
|
|
||||||
jitsu
|
jitsu
|
||||||
.id(
|
.id({
|
||||||
{
|
id: user.id,
|
||||||
id: user.id,
|
email: user.email,
|
||||||
email: user.email,
|
first_name: user.first_name,
|
||||||
first_name: user.first_name,
|
last_name: user.last_name,
|
||||||
last_name: user.last_name,
|
})
|
||||||
},
|
|
||||||
true
|
|
||||||
)
|
|
||||||
.then(() => {
|
.then(() => {
|
||||||
jitsu.track(eventName, {
|
jitsu.track(eventName, {
|
||||||
...extra,
|
...extra,
|
||||||
|
Loading…
Reference in New Issue
Block a user