mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
Fix server folder permissions by role
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user