Removed redundant typing from statsfm lib

This commit is contained in:
r-freeman 2023-02-22 22:53:33 +00:00
parent 4eaeb29b46
commit 0129ec9642

View File

@ -1,6 +1,6 @@
import fetcher from './fetcher' import fetcher from './fetcher'
const STATSFM_USERNAME: string = process.env.STATSFM_USERNAME ?? "" const STATSFM_USERNAME = process.env.STATSFM_USERNAME
const STATSFM_LIFETIME_STATS = `https://beta-api.stats.fm/api/v1/users/${STATSFM_USERNAME}/streams/stats?range=lifetime` const STATSFM_LIFETIME_STATS = `https://beta-api.stats.fm/api/v1/users/${STATSFM_USERNAME}/streams/stats?range=lifetime`
type StatsFmResponse = { type StatsFmResponse = {