···44 SPOTIFY_CLIENT_SECRET,
55 SPOTIFY_REDIRECT_URI,
66} from "astro:env/server";
77-import { SpotifyError, throws } from "./errors";
77+import { SpotifyError } from "./errors";
88+import { throws } from "/utils";
89import { isAuthToken, isRefreshToken } from "./types";
9101011/**
+2-2
src/components/playing/spotify/api.ts
···11import getAccessCode from "./access";
22-import { SpotifyError, throws } from "./errors";
22+import { SpotifyError } from "./errors";
33import { isNowPlaying, type nowPlaying } from "./types";
44-import { isObj } from "/utils";
44+import { isObj, throws } from "/utils";
5566/**
77 * Wrapper for authorizing a spotify API with default headers etc