|
|
@ -21,9 +21,12 @@ exports.endUserPing = async ctx => { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
posthogClient.capture("budibase:end_user_ping", { |
|
|
posthogClient.capture({ |
|
|
userId: ctx.user && ctx.user._id, |
|
|
event: "budibase:end_user_ping", |
|
|
appId: ctx.appId, |
|
|
distinctId: ctx.user && ctx.user._id, |
|
|
|
|
|
properties: { |
|
|
|
|
|
appId: ctx.appId, |
|
|
|
|
|
}, |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
ctx.body = { |
|
|
ctx.body = { |
|
|
|