Skip to content

Commit 3f35175

Browse files
Update examples/with-solidstart/src/auth/server.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Thomas <thomas.giudici@proton.me>
1 parent b56067c commit 3f35175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with-solidstart/src/auth/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const getSession = () =>
1212
export const updateSession = async (wallets: string[], id?: number) => {
1313
const session = await getSession();
1414
const { data } = await session.update(() => ({
15-
id: id || session.data.id,
15+
id: id ?? session.data.id,
1616
wallets
1717
}));
1818
return data as Session;

0 commit comments

Comments
 (0)