mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-27 12:56:31 +02:00
Fix server queue saving/restoring on Navidrome and OpenSubsonic (#1828)
* fix server queue saving * fix error when attempting to restore empty queue * queue items optional * make playQueueByIndex optional * fix incorrect error message
This commit is contained in:
@@ -709,7 +709,7 @@ const queue = z.object({
|
||||
createdAt: z.string(),
|
||||
current: z.number(),
|
||||
id: z.string(),
|
||||
items: z.array(song),
|
||||
items: z.array(song).optional(),
|
||||
position: z.number(),
|
||||
updatedAt: z.string(),
|
||||
userId: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user