diff --git a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/config.ts b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/config.ts index 9001690f3..c5e8ff4e0 100644 --- a/examples/nodejs/token-vending-machine/lambda/token-vending-machine/config.ts +++ b/examples/nodejs/token-vending-machine/lambda/token-vending-machine/config.ts @@ -1,4 +1,4 @@ -import {ExpiresIn, AllTopics, CacheRole, TopicRole, DisposableTokenScope} from '@gomomento/sdk'; +import { ExpiresIn, AllTopics, CacheRole, TopicRole, DisposableTokenScope } from '@gomomento/sdk'; /** * First, set the scope of permissions for your tokens. @@ -57,7 +57,7 @@ export const tokenPermissions: DisposableTokenScope = { * Second, set the TTL for your tokens in terms of seconds, minutes, hours, * days, or using epoch format. * This example app generates disposable tokens by default and disposable - * tokens must expire within 1 hour. + * tokens must expire within 25 hours. * More information here: https://docs.momentohq.com/develop/api-reference/auth-tokens#generatedisposabletoken-api */ export const tokenExpiresIn: ExpiresIn = ExpiresIn.hours(1); diff --git a/examples/web/nextjs-chat/src/app/api/momento/token/config.ts b/examples/web/nextjs-chat/src/app/api/momento/token/config.ts index 848fe3fa8..276dcc688 100644 --- a/examples/web/nextjs-chat/src/app/api/momento/token/config.ts +++ b/examples/web/nextjs-chat/src/app/api/momento/token/config.ts @@ -52,7 +52,7 @@ export const tokenPermissions: DisposableTokenScope = * Second, set the TTL for your tokens in terms of seconds, minutes, hours, * days, or using epoch format. * This example app generates disposable tokens by default and disposable - * tokens must expire within 1 hour. + * tokens must expire within 25 hours. * More information here: https://docs.momentohq.com/develop/api-reference/auth-tokens#generatedisposabletoken-api */ export const tokenExpiresIn: ExpiresIn = ExpiresIn.minutes(30);