mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
fix username param on subsonic getUser (#1362)
This commit is contained in:
@@ -1477,7 +1477,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getUser({
|
||||
query: {
|
||||
id: query.id,
|
||||
username: query.id,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ const baseResponse = z.object({
|
||||
});
|
||||
|
||||
const userParameters = z.object({
|
||||
id: z.string(),
|
||||
username: z.string(),
|
||||
});
|
||||
|
||||
const user = z.object({
|
||||
|
||||
Reference in New Issue
Block a user