Fix username on navidrome login check

This commit is contained in:
jeffvli 2022-11-21 15:15:17 -08:00
parent 68b1134da5
commit b8ce0aac24

View File

@ -64,7 +64,7 @@ const remoteServerLogin = async (options: {
});
return {
altToken: `u=${res.name}&s=${res.subsonicSalt}&t=${res.subsonicToken}`,
altToken: `u=${res.username}&s=${res.subsonicSalt}&t=${res.subsonicToken}`,
remoteUserId: res.id,
token: res.token,
type: ServerType.NAVIDROME,