Skip to content

Commit 2b66173

Browse files
committed
Get it building again
1 parent 9fafcf8 commit 2b66173

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/auth-providers/dbAuth/api/src/decoder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { Decoder } from '@redwoodjs/api'
55
import { dbAuthSession } from './shared'
66

77
export const createAuthDecoder = (cookieNameOption: string): Decoder => {
8-
return async (token, type, req) => {
8+
return async (_token, type, req) => {
99
if (type !== 'dbAuth') {
1010
return null
1111
}

packages/vite/src/streaming/streamHelpers.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ export async function reactRenderToStreamResponse(
9090
return React.createElement(
9191
ServerAuthProvider,
9292
{
93-
value: authState,
93+
// @TODO: figure out types
94+
value: authState as any,
9495
},
9596
React.createElement(
9697
ServerHtmlProvider,

0 commit comments

Comments
 (0)