changed to Daphnis

This commit is contained in:
polaris
2024-06-29 02:48:13 -04:00
parent d465e6eb76
commit 22b1c6c8d9
20 changed files with 7 additions and 268 deletions

View File

@ -3,7 +3,7 @@
import { getAuth } from "@/auth/queries/getauth";
import { artemis } from "@/lib/prisma";
import { daphnis } from "@/lib/prisma";
import type * as Prisma from '@prisma/client';
export async function getSongsWithTitles(userId: number) {
try {
@ -55,8 +55,10 @@ export async function getSongsWithTitles(userId: number) {
placeId: true,
ticketId: true,
},
});
const musicIds = songs
.map((song) => song.musicId)
.filter((id) => id !== null) as number[];