Skip to content

Commit ffbf6d4

Browse files
committed
CCM-10893 Make routing flag optional for now
1 parent f62f14d commit ffbf6d4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lambdas/backend-client/src/schemas/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { ClientConfiguration, ClientFeatures } from '../types/generated';
55
const $ClientFeatures = schemaFor<ClientFeatures>()(
66
z.object({
77
proofing: z.boolean(),
8-
routing: z.boolean(),
8+
// TODO: CCM-11148 Make routing required
9+
routing: z.boolean().optional(),
910
})
1011
);
1112

tests/test-team/helpers/client/client-helper.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
type ClientConfiguration = {
88
features: {
99
proofing: boolean;
10-
routing: boolean;
10+
// TODO: CCM-11148 Make routing flag required
11+
routing?: boolean;
1112
};
1213
campaignId?: string;
1314
};
@@ -62,7 +63,7 @@ export class ClientConfigurationHelper {
6263
constructor(
6364
private readonly clientSSMKeyPrefix: string,
6465
private readonly runId: string
65-
) {}
66+
) { }
6667

6768
async setup() {
6869
return Promise.all(

0 commit comments

Comments
 (0)