Make Smapi responsible for turning app token into encrypted jwt (#71)

This commit is contained in:
Simon J
2021-11-04 14:04:56 +11:00
committed by GitHub
parent 2d4f201d08
commit 9d76c92e69
10 changed files with 638 additions and 584 deletions

View File

@@ -17,7 +17,6 @@ import {
cachingImageFetcher,
asTrack,
} from "../src/subsonic";
import encryption from "../src/encryption";
import axios from "axios";
jest.mock("axios");
@@ -593,7 +592,6 @@ describe("Subsonic", () => {
const streamClientApplication = jest.fn();
const navidrome = new Subsonic(
url,
encryption("secret"),
streamClientApplication
);