fix: pr suggestions

This commit is contained in:
sct
2025-04-02 12:31:30 +09:00
parent ab1d31cc04
commit 56f8a7ffb5
6 changed files with 72 additions and 20 deletions

View File

@@ -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,
});
}
}