Run lint fix

wtf bro
This commit is contained in:
TPN 2024-07-17 13:52:39 +01:00
parent 812153b81a
commit 88c5638274
No known key found for this signature in database
GPG key ID: 40AE091637892B91

View file

@ -22,7 +22,7 @@ export async function login(
const cookie = parseSetCookie(
// It retruns a cookie even when the login failed
// I have the backup cookie here just in case
res.status === 1 ? (req.headers.get('Set-Cookie') ?? '') : 'PHPSESSID=mk2p73c77qc28o5i5120843ruu;',
res.status === 1 ? req.headers.get('Set-Cookie') ?? '' : 'PHPSESSID=mk2p73c77qc28o5i5120843ruu;',
);
return cookie.PHPSESSID.value;