Skip to content

Commit 1a0f9ab

Browse files
committed
CCM-10430: rm conditional fetch of client config
1 parent 73d5959 commit 1a0f9ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lambdas/backend-api/src/templates/app/template-client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ export class TemplateClient {
392392
): Promise<Result<TemplateDto>> {
393393
const log = this.logger.child({ templateId, user });
394394

395-
const clientConfigurationResult = user.clientId
396-
? await this.clientConfigRepository.get(user.clientId)
397-
: { data: null };
395+
const clientConfigurationResult = await this.clientConfigRepository.get(
396+
user.clientId
397+
);
398398

399399
if (clientConfigurationResult.error) {
400400
log

0 commit comments

Comments
 (0)