mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 19:37:12 +00:00
Optimize and refactor latest changes
This commit is contained in:
@@ -42,7 +42,7 @@ $(document).on('click', '.user-delete-button', function (e)
|
||||
{
|
||||
if (result === true)
|
||||
{
|
||||
Grocy.Api.Get('users/delete' + objectId,
|
||||
Grocy.Api.Get('users/delete/' + objectId,
|
||||
function(result)
|
||||
{
|
||||
window.location.href = U('/users');
|
||||
|
Reference in New Issue
Block a user