Skip to content

Commit

Permalink
Get it building again
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed Nov 15, 2023
1 parent 9fafcf8 commit 2b66173
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/auth-providers/dbAuth/api/src/decoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Decoder } from '@redwoodjs/api'
import { dbAuthSession } from './shared'

export const createAuthDecoder = (cookieNameOption: string): Decoder => {
return async (token, type, req) => {
return async (_token, type, req) => {
if (type !== 'dbAuth') {
return null
}
Expand Down
3 changes: 2 additions & 1 deletion packages/vite/src/streaming/streamHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export async function reactRenderToStreamResponse(
return React.createElement(
ServerAuthProvider,
{
value: authState,
// @TODO: figure out types
value: authState as any,
},
React.createElement(
ServerHtmlProvider,
Expand Down

0 comments on commit 2b66173

Please sign in to comment.