Skip to content

Commit

Permalink
Changes CSV shape (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 authored Sep 18, 2024
1 parent c4a363f commit 2a8f7b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/cli",
"description": "Small package containing useful typescript utilities.",
"version": "6.4.0",
"version": "6.4.1",
"homepage": "https://github.com/transcend-io/cli",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions src/cli-cron-pull-profiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ async function main(): Promise<void> {
uniq(requestIds),
async (requestId) => {
const results = await fetchRequestFilesForRequest(client, { requestId });
return results.map(({ fileName, ...res }) => ({
...res,
requestId,
datapointName: fileName
return results.map(({ fileName, remoteId }) => ({
RecordId: remoteId,
Object: fileName
.replace('.json', '')
.split('/')
.pop()
?.replace(' Information', ''),
Comment: 'Customer data deletion request submitted via transcend.io',
}));
},
{
Expand Down

0 comments on commit 2a8f7b8

Please sign in to comment.