diff --git a/CHANGELOG.md b/CHANGELOG.md index 02e03102..cbdfd9a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Nothing worth mentioning yet. + ## [0.23.1] - 2024-04-24 ### Added diff --git a/playlet-web/src/lib/Api/PlayletApi.ts b/playlet-web/src/lib/Api/PlayletApi.ts index 00e18ef9..2222243b 100644 --- a/playlet-web/src/lib/Api/PlayletApi.ts +++ b/playlet-web/src/lib/Api/PlayletApi.ts @@ -94,16 +94,14 @@ export class PlayletApi { args.timestamp = parseInt(args.timestamp); } } - const response = await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args); - return await response.json(); + await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args); } static async queuePlaylist(args) { if (!args.playlistId) { return; } - const response = await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args); - return await response.json(); + await PlayletApi.postJson(`${PlayletApi.host()}/api/queue`, args); } static async openPlaylist(playlistId) {