From 665a9620a425de2398bc741f0623da8e37b16a53 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 30 Sep 2021 16:39:10 +0100 Subject: [PATCH] lint --- packages/client/src/api/analytics.js | 2 +- packages/server/src/api/controllers/analytics.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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, } -} +}