fix user ping event
This commit is contained in:
parent
f6a52ad92a
commit
dea2c95d80
|
@ -21,9 +21,12 @@ exports.endUserPing = async ctx => {
|
|||
return
|
||||
}
|
||||
|
||||
posthogClient.capture("budibase:end_user_ping", {
|
||||
userId: ctx.user && ctx.user._id,
|
||||
posthogClient.capture({
|
||||
event: "budibase:end_user_ping",
|
||||
distinctId: ctx.user && ctx.user._id,
|
||||
properties: {
|
||||
appId: ctx.appId,
|
||||
},
|
||||
})
|
||||
|
||||
ctx.body = {
|
||||
|
|
Loading…
Reference in New Issue