diff --git a/packages/client/src/api/analytics.js b/packages/client/src/api/analytics.js index ddec73934c..5a089eaa21 100644 --- a/packages/client/src/api/analytics.js +++ b/packages/client/src/api/analytics.js @@ -1,7 +1,7 @@ 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 () => { return await API.post({ diff --git a/packages/server/src/api/controllers/analytics.js b/packages/server/src/api/controllers/analytics.js index 5f7609769b..a3ff3eb1c8 100644 --- a/packages/server/src/api/controllers/analytics.js +++ b/packages/server/src/api/controllers/analytics.js @@ -18,10 +18,10 @@ exports.endUserPing = async (ctx, next) => { posthogClient.capture("budibase:end_user_ping", { userId: ctx.user?._id, - appId: ctx.appId + appId: ctx.appId, }) ctx.body = { - ping: true + ping: true, } -} +}