mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +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({
|
const res = await ssApiClient(apiClientProps).getUser({
|
||||||
query: {
|
query: {
|
||||||
id: query.id,
|
username: query.id,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const baseResponse = z.object({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const userParameters = z.object({
|
const userParameters = z.object({
|
||||||
id: z.string(),
|
username: z.string(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const user = z.object({
|
const user = z.object({
|
||||||
|
|||||||
Reference in New Issue
Block a user