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 6127fc2 commit 61ccaabCopy full SHA for 61ccaab
lambdas/backend-api/src/templates/api/validate-letter-template-files.ts
@@ -71,6 +71,12 @@ export class ValidateLetterTemplateFilesLambda {
71
72
const { error: getTemplateError, data: template } =
73
await this.templateRepository.get(templateId, {
74
+ /*
75
+ Until migration to client-ownership is complete, we don't know whether the
76
+ 'owner' segment in the S3 path is a clientId or a userId. Once the migration
77
+ is complete, we will know unambiguously that it's a clientId and this
78
+ doubly attempted fetch won't be required
79
+ */
80
userId: owner,
81
clientId: owner,
82
});
0 commit comments