From 67dfce74379436cdbb7b36c219be55ad4068c753 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Thu, 4 Apr 2024 08:41:25 +0300 Subject: [PATCH] WebAPI: return correct value for queued uploading state PR #20651. Closes #20648. --- src/webui/api/serialize/serialize_torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/api/serialize/serialize_torrent.cpp b/src/webui/api/serialize/serialize_torrent.cpp index 9f7416456..b4333bc99 100644 --- a/src/webui/api/serialize/serialize_torrent.cpp +++ b/src/webui/api/serialize/serialize_torrent.cpp @@ -54,7 +54,7 @@ namespace case BitTorrent::TorrentState::StoppedUploading: return u"stoppedUP"_s; case BitTorrent::TorrentState::QueuedUploading: - return u"stoppedUP"_s; + return u"queuedUP"_s; case BitTorrent::TorrentState::StalledUploading: return u"stalledUP"_s; case BitTorrent::TorrentState::CheckingUploading: