Split queries into prisma and sql.
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run

This commit is contained in:
Mike Cao 2025-09-29 16:55:07 -07:00
parent 1a66e3df73
commit b9fbbc6453
69 changed files with 117 additions and 115 deletions

View file

@ -1,6 +1,6 @@
import { NextResponse } from 'next/server';
import { notFound } from '@/lib/response';
import { findPixel } from '@/queries';
import { findPixel } from '@/queries/prisma';
import { POST } from '@/app/api/send/route';
const image = Buffer.from('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw', 'base64');

View file

@ -1,6 +1,6 @@
import { NextResponse } from 'next/server';
import { notFound } from '@/lib/response';
import { findLink } from '@/queries';
import { findLink } from '@/queries/prisma';
import { POST } from '@/app/api/send/route';
export async function GET(request: Request, { params }: { params: Promise<{ slug: string }> }) {