Remove cache on validate route

This commit is contained in:
mbaharip
2023-05-25 22:13:53 +07:00
parent 7fcb2dbf63
commit 20b83d5d8d
2 changed files with 0 additions and 6 deletions
@@ -260,9 +260,6 @@ export async function GET(
return NextResponse.json(payload, {
status: 200,
headers: {
"Cache-Control": apiConfig.cacheControl,
},
});
} catch (error: any) {
const payload = createErrorPayload(
-3
View File
@@ -72,9 +72,6 @@ export async function GET(request: NextRequest) {
return NextResponse.json(payload, {
status: 200,
headers: {
"Cache-Control": apiConfig.cacheControl,
},
});
} catch (error: any) {
const payload = createErrorPayload(