fix authentication query for Subsonic/ND

This commit is contained in:
jeffvli
2025-12-12 11:10:29 -08:00
parent 4103ed7221
commit 1bcc23862c
3 changed files with 3 additions and 1 deletions
@@ -1477,7 +1477,7 @@ export const SubsonicController: InternalControllerEndpoint = {
const res = await ssApiClient(apiClientProps).getUser({
query: {
username: query.id,
username: query.username,
},
});
@@ -48,6 +48,7 @@ export const useServerAuthenticated = () => {
},
query: {
id: userId,
username: serverWithAuth.username,
},
});
+1
View File
@@ -1514,6 +1514,7 @@ export type UserInfoArgs = BaseEndpointArgs & { query: UserInfoQuery };
export type UserInfoQuery = {
id: string;
username: string;
};
export type UserInfoResponse = {