mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix(i18n): pass path to wrongItemPath string, fixes #10403
This commit is contained in:
parent
bf424573a4
commit
e6cf7564b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue