aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/lib/transfers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/lib/transfers.js b/src/web/src/lib/transfers.js
index 18716fb9..f9815d4d 100644
--- a/src/web/src/lib/transfers.js
+++ b/src/web/src/lib/transfers.js
@@ -32,7 +32,7 @@ export const cancel = ({ direction, username, id, remove = false }) => {
// 'Completed, Rejected'
export const getPlaceInQueue = ({ username, id }) => {
- return api.get(`/transfers/downloads/${encodeURIComponent(username)}/${id}/position`);
+ return api.get(`/transfers/downloads/${encodeURIComponent(username)}/${encodeURIComponent(id)}/position`);
};
export const isStateRetryable = (state) =>