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 73d5959 commit 1a0f9abCopy full SHA for 1a0f9ab
lambdas/backend-api/src/templates/app/template-client.ts
@@ -392,9 +392,9 @@ export class TemplateClient {
392
): Promise<Result<TemplateDto>> {
393
const log = this.logger.child({ templateId, user });
394
395
- const clientConfigurationResult = user.clientId
396
- ? await this.clientConfigRepository.get(user.clientId)
397
- : { data: null };
+ const clientConfigurationResult = await this.clientConfigRepository.get(
+ user.clientId
+ );
398
399
if (clientConfigurationResult.error) {
400
log
0 commit comments