mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Remove unused
This commit is contained in:
@@ -59,10 +59,10 @@ const findMany = async (
|
||||
// const artistIds = rawArtistIds && rawArtistIds.split(',');
|
||||
const songIds = rawSongIds && rawSongIds.split(',');
|
||||
|
||||
if (serverFolderIds) {
|
||||
if (!(await folderPermissions(serverFolderIds, user)))
|
||||
throw ApiError.forbidden('');
|
||||
}
|
||||
// if (serverFolderIds) {
|
||||
// if (!(await folderPermissions(serverFolderIds, user)))
|
||||
// throw ApiError.forbidden('');
|
||||
// }
|
||||
|
||||
// const serverFoldersFilter = serverFolderIds!.map((serverFolderId: number) => {
|
||||
// return { serverFolders: { id: { equals: serverFolderId } } };
|
||||
|
||||
Reference in New Issue
Block a user