Skip to content

Commit e0d6ef3

Browse files
authored
Merge branch 'staging' into create-logs-and-secure-missing-variables
2 parents 7d73831 + d1c0523 commit e0d6ef3

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

app/api/chat/[graph]/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export async function POST(request: NextRequest, { params }: { params: { graph:
2121
headers: {
2222
"Authorization": token,
2323
"Content-Type": 'application/json'
24-
}
24+
},
25+
cache: 'no-store'
2526
})
2627

2728
if (!result.ok) {

app/api/repo/[graph]/[node]/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export async function POST(request: NextRequest, { params }: { params: { graph:
2626
src,
2727
dest
2828
})
29+
cache: 'no-store'
2930
})
3031

3132
if (!result.ok) {

app/api/repo/[graph]/commit/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export async function GET(request: NextRequest, { params }: { params: { graph: s
1515
headers: {
1616
"Authorization": token,
1717
"Content-Type": 'application/json'
18-
}
18+
},
19+
cache: 'no-store'
1920
})
2021

2122
if (!result.ok) {

app/api/repo/[graph]/info/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export async function GET(request: NextRequest, { params }: { params: { graph: s
1515
headers: {
1616
"Authorization": token,
1717
"Content-Type": 'application/json'
18-
}
18+
},
19+
cache: 'no-store'
1920
})
2021

2122
if (!result.ok) {

app/api/repo/[graph]/neighbors/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export async function POST(request: NextRequest, { params }: { params: { graph:
2121
"Content-Type": 'application/json',
2222
"Authorization": token,
2323
}
24+
cache: 'no-store'
2425
})
2526

2627
const json = await result.json()

app/api/repo/[graph]/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ export async function POST(request: NextRequest, { params }: { params: { graph:
4848
headers: {
4949
"Authorization": token,
5050
"Content-Type": 'application/json'
51-
}
51+
},
52+
cache: 'no-store'
5253
})
5354

5455
if (!result.ok) {

app/api/repo/route.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export async function GET() {
1010
headers: {
1111
"Authorization": token,
1212
}
13+
cache: 'no-store'
1314
})
1415

1516
if (!result.ok) {
@@ -43,8 +44,9 @@ export async function GET() {
4344
// headers: {
4445
// "Authorization": token,
4546
// 'Content-Type': 'application/json'
46-
// }
47-
// });
47+
// },
48+
// cache: 'no-store'
49+
// });
4850

4951
// if (!result.ok) {
5052
// throw new Error(await result.text());

0 commit comments

Comments
 (0)