#31 - Allow removing an item from others' wishlist if you added it (#40)

This commit is contained in:
Coal 2022-10-11 06:44:14 -06:00 committed by GitHub
parent e5330d678f
commit 51842add77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -120,7 +120,7 @@ block content
td(data-label='Delete Item')
form.inline(
method='POST',
action=`${_CC.config.base}wishlist/${req.params.user}/${req.user._id === req.params.user ? 'remove' : 'unpledge'}/${item.id}`
action=`${_CC.config.base}wishlist/${req.params.user}/remove/${item.id}`
)
.field.inline
.control.inline