From 881abf6e5fe9926f23db34486fd18ada21f24536 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 16 Feb 2024 13:11:03 +0000 Subject: [PATCH] Merge pull request #17109 from overleaf/jpa-tpds-remove-sl-prefix-2 [misc] remove ShareLaTeX branding from tpds job headers 2/2 GitOrigin-RevId: da42dacbfe7f14f8f7e4da0534b13ef9b8c046cd --- .../ThirdPartyDataStore/TpdsUpdateSender.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/services/web/app/src/Features/ThirdPartyDataStore/TpdsUpdateSender.js b/services/web/app/src/Features/ThirdPartyDataStore/TpdsUpdateSender.js index 7608818bc7..565ec41b8b 100644 --- a/services/web/app/src/Features/ThirdPartyDataStore/TpdsUpdateSender.js +++ b/services/web/app/src/Features/ThirdPartyDataStore/TpdsUpdateSender.js @@ -51,11 +51,6 @@ async function addEntity(params) { const job = { method: 'post', headers: { - sl_entity_id: entityId, - sl_entity_type: entityType, - sl_entity_rev: rev, - sl_project_id: projectId, - sl_folder_id: folderId, 'x-entity-id': entityId, 'x-entity-rev': rev, 'x-entity-type': entityType, @@ -126,9 +121,6 @@ async function deleteEntity(params) { const job = { method: 'delete', headers: { - sl_project_id: projectId, - sl_entity_id: entityId, - sl_entity_type: entityType, 'x-entity-id': entityId, 'x-entity-type': entityType, 'x-project-id': projectId, @@ -153,7 +145,6 @@ async function createProject(params) { const job = { method: 'post', headers: { - sl_project_id: projectId.toString(), 'x-project-id': projectId, }, uri: Path.join( @@ -216,21 +207,16 @@ async function moveEntity(params) { for (const userId of projectUserIds) { const headers = { - sl_project_id: projectId, - sl_entity_rev: rev, 'x-project-id': projectId, 'x-entity-rev': rev, } if (entityId != null) { - headers.sl_entity_id = entityId headers['x-entity-id'] = entityId } if (entityType != null) { - headers.sl_entity_type = entityType headers['x-entity-type'] = entityType } if (folderId != null) { - headers.sl_folder_id = folderId headers['x-folder-id'] = folderId } const job = {