new typeahead
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
|
||||
async function getClientCredentialsToken(): Promise<string> {
|
||||
const clientId = import.meta.env.VITE_SPOTIFY_CLIENT_ID;
|
||||
const clientSecret = import.meta.env.SPOTIFY_CLIENT_SECRET;
|
||||
const clientId = process.env.VITE_SPOTIFY_CLIENT_ID;
|
||||
const clientSecret = process.env.SPOTIFY_CLIENT_SECRET;
|
||||
|
||||
if (!clientId || !clientSecret) {
|
||||
throw new Error("Missing Spotify client credentials");
|
||||
|
||||
Reference in New Issue
Block a user