lint
This commit is contained in:
parent
a251c8bfd0
commit
665a9620a4
|
@ -1,7 +1,7 @@
|
||||||
import API from "./api"
|
import API from "./api"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies that an end user client app has been loaded.
|
* Notifies that an end user client app has been loaded.
|
||||||
*/
|
*/
|
||||||
export const pingEndUser = async () => {
|
export const pingEndUser = async () => {
|
||||||
return await API.post({
|
return await API.post({
|
||||||
|
|
|
@ -18,10 +18,10 @@ exports.endUserPing = async (ctx, next) => {
|
||||||
|
|
||||||
posthogClient.capture("budibase:end_user_ping", {
|
posthogClient.capture("budibase:end_user_ping", {
|
||||||
userId: ctx.user?._id,
|
userId: ctx.user?._id,
|
||||||
appId: ctx.appId
|
appId: ctx.appId,
|
||||||
})
|
})
|
||||||
|
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
ping: true
|
ping: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue