diff --git a/src/backend/sources/DeezerInternalSource.ts b/src/backend/sources/DeezerInternalSource.ts index cd923329..2ca35d79 100644 --- a/src/backend/sources/DeezerInternalSource.ts +++ b/src/backend/sources/DeezerInternalSource.ts @@ -212,7 +212,7 @@ export default class DeezerInternalSource extends MemorySource { getRecentlyPlayed = async (options: RecentlyPlayedOptions = {}) => { this.setStatus('Checking for new Plays'); - let resp: DeezerHistoryResponse; + let resp: DeezerHistoryResponse | undefined = undefined; try { const req = this.agent.post('https://www.deezer.com/ajax/gw-light.php') .query({