mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Fixes the error 500 for /auth/ endpoint (#3627)
Co-authored-by: rewhex <gitea@cluser.local>
This commit is contained in:
@ -75,9 +75,11 @@ export const register = (
|
|||||||
// SKIP CHECK
|
// SKIP CHECK
|
||||||
}
|
}
|
||||||
|
|
||||||
setConfig({
|
if (!config.authorizedClients.includes(id)) {
|
||||||
authorizedClients: [...config.authorizedClients, id],
|
setConfig({
|
||||||
});
|
authorizedClients: [...config.authorizedClients, id],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const token = await sign(
|
const token = await sign(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user