mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:55:56 +00:00
migrate xhrJson invocations to the new helper
This commit is contained in:
@@ -27,7 +27,7 @@ const Users = {
|
||||
}
|
||||
},
|
||||
edit: function(id) {
|
||||
xhrJson('backend.php', {op: 'pref-users', method: 'edit', id: id}, (reply) => {
|
||||
xhr.json('backend.php', {op: 'pref-users', method: 'edit', id: id}, (reply) => {
|
||||
const user = reply.user;
|
||||
const admin_disabled = (user.id == 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user