mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 20:55:40 +00:00
Removed redundant typing from statsfm lib
This commit is contained in:
parent
4eaeb29b46
commit
0129ec9642
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user