From 0129ec9642746b668d5f0b784495cca9acab1749 Mon Sep 17 00:00:00 2001 From: r-freeman Date: Wed, 22 Feb 2023 22:53:33 +0000 Subject: [PATCH] Removed redundant typing from statsfm lib --- lib/statsfm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/statsfm.ts b/lib/statsfm.ts index 246c8c6..29bbdf0 100644 --- a/lib/statsfm.ts +++ b/lib/statsfm.ts @@ -1,6 +1,6 @@ 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` type StatsFmResponse = {