Skip to content

Commit

Permalink
Change: await await
Browse files Browse the repository at this point in the history
  • Loading branch information
itizawa committed Dec 1, 2024
1 parent c1f2fe5 commit 8b7d05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/libs/trpcClient/trpcClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const trpcClient = createTRPCProxyClient<AppRouter>({
httpBatchLink({
url: urlJoin(process.env.NEXT_PUBLIC_API_HOST || 'http://localhost:8080', '/trpc'),
fetch: async (input, init) => {
const cookieStore = cookies();
const cookieStore = await cookies();
const cookie = cookieStore
.getAll()
.map(cookie => `${cookie.name}=${cookie.value}`)
Expand Down

0 comments on commit 8b7d05d

Please sign in to comment.