Fix user-pastes

This commit is contained in:
UltraLionFr
2025-08-20 18:12:04 +02:00
parent bedcd4dbc6
commit f4dd4177c7
+1 -1
View File
@@ -17,7 +17,7 @@ export async function GET(req: Request) {
const search = searchParams.get('q') || '';
const filter = {
const filter: Prisma.PasteWhereInput = {
createdBy: session.user.id,
...(search
? {