Skip to content

Commit

Permalink
fix: undefined err
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanwilkes committed May 1, 2021
1 parent dde8b0f commit 431afa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/musicKit.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "dotenv/config";
export default {
musicKitSecret: process.env.MUSIC_KIT_SECRET.replace(/\\n/gm, "\n"),
musicKitSecret: process.env.MUSIC_KIT_SECRET ? process.env.MUSIC_KIT_SECRET.replace(/\\n/gm, "\n") : process.env.MUSIC_KIT_SECRET,
musicKitTeamId: process.env.MUSIC_KIT_TEAM_ID,
musicKitKeyId: process.env.MUSIC_KIT_KEY_ID,
musicKitTokenExpiry: "1d"
Expand Down

0 comments on commit 431afa5

Please sign in to comment.