fix: more eslint stuff

This commit is contained in:
Huskydog9988
2025-04-15 21:10:45 -04:00
parent 8f429e1e56
commit 8e109dd562
58 changed files with 1066 additions and 1016 deletions

View File

@ -1,4 +1,3 @@
import { triggerAsyncId } from "async_hooks";
import prisma from "../db/database";
import objectHandler from "../objects";
@ -50,7 +49,7 @@ class NewsManager {
orderBy?: "asc" | "desc";
tags?: string[];
search?: string;
} = {}
} = {},
) {
return await prisma.article.findMany({
where: {
@ -116,7 +115,7 @@ class NewsManager {
content?: string;
excerpt?: string;
image?: string;
}
},
) {
return await prisma.article.update({
where: { id },