Skip to content

Commit

Permalink
LastFM - Add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Sep 24, 2024
1 parent bf67c3a commit cdb5400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/LastFM/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const makeScrobbleOpts = ({ metaTags, playbackStart, playbackContext }: CurrentT
};
// @ts-expect-error TS really hates iterating keys cuz its unsafe
for (const key in scrobbleOpts) if (scrobbleOpts[key] === undefined) delete scrobbleOpts[key];
trace.debug("makeScrobbleOpts", scrobbleOpts);
return scrobbleOpts;
};

Expand Down

0 comments on commit cdb5400

Please sign in to comment.