mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 00:16:16 +01:00
fix: pr suggestions
This commit is contained in:
@@ -365,7 +365,7 @@ class PlexTvAPI extends ExternalAPI {
|
||||
}
|
||||
}
|
||||
|
||||
public async pingToken() {
|
||||
public async pingToken(displayName?: string) {
|
||||
try {
|
||||
const response = await this.axios.get('/api/v2/ping', {
|
||||
headers: {
|
||||
@@ -379,6 +379,7 @@ class PlexTvAPI extends ExternalAPI {
|
||||
logger.error('Failed to ping token', {
|
||||
label: 'Plex Refresh Token',
|
||||
errorMessage: e.message,
|
||||
userDisplayName: displayName,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user