mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
Compare commits
1 Commits
preview-fe
...
preview-ip
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
857844d058 |
@@ -126,6 +126,7 @@ class JellyfinAPI extends ExternalAPI {
|
|||||||
Password?: string,
|
Password?: string,
|
||||||
ClientIP?: string
|
ClientIP?: string
|
||||||
): Promise<JellyfinLoginResponse> {
|
): Promise<JellyfinLoginResponse> {
|
||||||
|
logger.debug('Client IP: ', ClientIP);
|
||||||
try {
|
try {
|
||||||
const headers = ClientIP
|
const headers = ClientIP
|
||||||
? {
|
? {
|
||||||
@@ -146,6 +147,7 @@ class JellyfinAPI extends ExternalAPI {
|
|||||||
|
|
||||||
return authResponse;
|
return authResponse;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
logger.debug(e);
|
||||||
const status = e.response?.status;
|
const status = e.response?.status;
|
||||||
|
|
||||||
const networkErrorCodes = new Set([
|
const networkErrorCodes = new Set([
|
||||||
|
|||||||
Reference in New Issue
Block a user