From 6ed9afa453e7a399a2708a0085b57c3c074a0caa Mon Sep 17 00:00:00 2001 From: Austin Turner Date: Mon, 11 Dec 2023 11:41:28 -0700 Subject: [PATCH] Add client to API calls Adding client appears to have calls show up using the client id on the API usage report, but it does not seem to be consistent, SOAP API calls appear to be missing from the report completely. resolves #672 --- apps/api/src/app/routes/route.middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/app/routes/route.middleware.ts b/apps/api/src/app/routes/route.middleware.ts index 5767e6fdb..cc9573fe0 100644 --- a/apps/api/src/app/routes/route.middleware.ts +++ b/apps/api/src/app/routes/route.middleware.ts @@ -287,6 +287,7 @@ export async function getOrgForRequest( // http://www.fishofprey.com/2016/03/salesforce-forcecom-ide-superpowers.html // FIXME: this breaks some orgs // client: `apex_eclipse/v${apiVersion || org.apiVersion || ENV.SFDC_API_VERSION}`, + client: 'jetstream', }, };