Skip to content

Commit

Permalink
fix: pass default ttl through as props to web cache client (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce authored Jul 21, 2023
1 parent 8d68127 commit 2f6541f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-sdk-web/src/cache-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function createDataClient(props: CacheClientProps): IDataClient {
return new DataClient({
configuration: props.configuration,
credentialProvider: props.credentialProvider,
defaultTtlSeconds: 60,
defaultTtlSeconds: props.defaultTtlSeconds,
});
}

Expand Down

0 comments on commit 2f6541f

Please sign in to comment.