Updated the data returned for the app

pull/11530/head
Keith Williams 2023-09-27 09:54:10 -03:00
parent 62b3b87cda
commit 8a9dbf4457
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const app = await prisma.app.findUnique({ const app = await prisma.app.findUnique({
where: { slug: reqBody.appSlug }, where: { slug: reqBody.appSlug },
select: { slug: true }, select: { dirName: true },
}); });
if (!app) { if (!app) {