Fix server folder permissions by role

This commit is contained in:
jeffvli
2022-11-13 03:06:24 -08:00
parent 135a8d7a45
commit 4e2325f05d
9 changed files with 65 additions and 22 deletions
+2 -1
View File
@@ -22,6 +22,7 @@ import {
User,
UserServerUrl,
} from '@prisma/client';
import { AuthUser } from '@middleware/authenticate';
const getSubsonicStreamUrl = (options: {
deviceId: string;
@@ -439,7 +440,7 @@ type DbAlbumInclude = {
const albums = (options: {
items: DbAlbum[] | any[];
serverUrl?: string;
user: User;
user: AuthUser;
}) => {
const { items, serverUrl, user } = options;
return (