Skip to content

Commit

Permalink
remove more force dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Jan 9, 2024
1 parent 5df5cb1 commit c3794ae
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ui/app/api/alert-config/route.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { alertConfigType } from '@/app/alert-config/validation';
import prisma from '@/app/utils/prisma';

export const dynamic = 'force-dynamic';

export async function GET() {
const configs = await prisma.alerting_config.findMany();
const serializedConfigs = configs.map((config) => ({
Expand Down
2 changes: 0 additions & 2 deletions ui/app/api/mirrors/alerts/route.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import prisma from '@/app/utils/prisma';

export const dynamic = 'force-dynamic';

export async function POST(request: Request) {
const { flowName } = await request.json();
const errCount = await prisma.flow_errors.count({
Expand Down
2 changes: 0 additions & 2 deletions ui/app/mirrors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import useSWR from 'swr';
import { fetcher } from '../utils/swr';
import { CDCFlows, QRepFlows } from './tables';

export const dynamic = 'force-dynamic';

export default function Mirrors() {
const {
data: flows,
Expand Down

0 comments on commit c3794ae

Please sign in to comment.