diff --git a/website/server/controllers/api-v3/user.js b/website/server/controllers/api-v3/user.js index 3bb1919292..83b27e7279 100644 --- a/website/server/controllers/api-v3/user.js +++ b/website/server/controllers/api-v3/user.js @@ -1907,7 +1907,7 @@ api.movePinnedItem = { let currentPinnedItemPath = user.pinnedItemsOrder[currentIndex]; if (currentIndex === -1) { - throw new BadRequest(res.t('wrongItemPath', req.language)); + throw new BadRequest(res.t('wrongItemPath', {path}, req.language)); } // Remove the one we will move