From 2f6541f169644b4025f262b8a489fb71762ca015 Mon Sep 17 00:00:00 2001 From: Matt Straathof <11823378+bruuuuuuuce@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:53:00 -0700 Subject: [PATCH] fix: pass default ttl through as props to web cache client (#665) --- packages/client-sdk-web/src/cache-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client-sdk-web/src/cache-client.ts b/packages/client-sdk-web/src/cache-client.ts index 9b7a72d31..62fef6e90 100644 --- a/packages/client-sdk-web/src/cache-client.ts +++ b/packages/client-sdk-web/src/cache-client.ts @@ -31,7 +31,7 @@ function createDataClient(props: CacheClientProps): IDataClient { return new DataClient({ configuration: props.configuration, credentialProvider: props.credentialProvider, - defaultTtlSeconds: 60, + defaultTtlSeconds: props.defaultTtlSeconds, }); }