Skip to content

Commit 267079f

Browse files
committed
up
1 parent d698f7f commit 267079f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/integration/export/stream.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('CSV Export Streaming', () => {
7979

8080
const response = await fetch('http://localhost:3000/api/orders/export', {
8181
headers: {
82-
cookie: `next-auth.session-token=${session.sessionToken}`,
82+
cookie: `next-auth.session-token=${session.id}`,
8383
},
8484
});
8585

@@ -141,7 +141,7 @@ describe('CSV Export Streaming', () => {
141141

142142
const response = await fetch('http://localhost:3000/api/orders/export', {
143143
headers: {
144-
cookie: `next-auth.session-token=${session.sessionToken}`,
144+
cookie: `next-auth.session-token=${session.id}`,
145145
},
146146
});
147147

@@ -179,7 +179,7 @@ describe('CSV Export Streaming', () => {
179179

180180
const response = await fetch('http://localhost:3000/api/orders/export', {
181181
headers: {
182-
cookie: `next-auth.session-token=${session.sessionToken}`,
182+
cookie: `next-auth.session-token=${session.id}`,
183183
},
184184
});
185185

@@ -234,7 +234,7 @@ describe('CSV Export Streaming', () => {
234234

235235
const response = await fetch('http://localhost:3000/api/orders/export', {
236236
headers: {
237-
cookie: `next-auth.session-token=${session.sessionToken}`,
237+
cookie: `next-auth.session-token=${session.id}`,
238238
},
239239
});
240240

tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)