Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Dec 3, 2024
1 parent 0fba5ed commit 69a1f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile=false

- name: Check prettier
run: pnpm prettier --cache -c --loglevel=error .
Expand Down
1 change: 1 addition & 0 deletions packages/sst/src/node/auth/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export function cookie<T extends keyof SessionTypes>(input: {
}): APIGatewayProxyStructuredResultV2 {
const token = create(input);
const expires = new Date(
// @ts-ignore error in GH action
Date.now() + (input.options?.expiresIn || 1000 * 60 * 60 * 24 * 7)
);
return {
Expand Down

0 comments on commit 69a1f60

Please sign in to comment.