mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 11:56:16 +02:00
Fix deleting user have not worked (fixes #237)
This commit is contained in:
parent
9ef55f1f01
commit
153ac61867
|
|
@ -53,7 +53,7 @@ $(document).on('click', '.user-delete-button', function (e)
|
||||||
{
|
{
|
||||||
if (result === true)
|
if (result === true)
|
||||||
{
|
{
|
||||||
Grocy.Api.Delete('users/delete/' + objectId, {},
|
Grocy.Api.Delete('users/' + objectId, {},
|
||||||
function(result)
|
function(result)
|
||||||
{
|
{
|
||||||
window.location.href = U('/users');
|
window.location.href = U('/users');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user