Fix deleting user have not worked (fixes #237)

This commit is contained in:
Bernd Bestel 2019-05-04 23:10:01 +02:00
parent 9ef55f1f01
commit 153ac61867
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -53,7 +53,7 @@ $(document).on('click', '.user-delete-button', function (e)
{
if (result === true)
{
Grocy.Api.Delete('users/delete/' + objectId, {},
Grocy.Api.Delete('users/' + objectId, {},
function(result)
{
window.location.href = U('/users');