We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fb097 commit f6653a3Copy full SHA for f6653a3
data-migration/user-transfer/src/user-transfer.ts
@@ -83,8 +83,8 @@ async function migrateTemplatesAndS3Data(
83
84
for (const user of users) {
85
for (const item of items) {
86
- const { id, templateType } = item;
87
- if (id.S === user.userId) {
+ const { id, owner, templateType } = item;
+ if (owner.S === user.userId) {
88
// copy s3 data
89
if (templateType.S === 'LETTER') {
90
await handleS3Copy(user, id.S as string, DRY_RUN);
0 commit comments