diff --git a/src/services/API.ts b/src/services/API.ts index 9a3a98f6..3820e497 100644 --- a/src/services/API.ts +++ b/src/services/API.ts @@ -89,9 +89,8 @@ export class API { } static ALBUM_DOWNLOAD(user: string, name: string) { - return gen(`${BASE}/clusters/albums/download?name={user}/{name}`, { - user, - name, + return API.Q(gen(`${BASE}/clusters/albums/download`), { + name: `${user}/${name}`, }); }