mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
change property names
This commit is contained in:
parent
b69dfb366b
commit
2bd336d1c9
65 changed files with 293 additions and 298 deletions
|
|
@ -12,7 +12,7 @@ import {
|
|||
export default async (req, res) => {
|
||||
await useAuth(req, res);
|
||||
|
||||
const { user_id: currentUserId, is_admin: currentUserIsAdmin } = req.auth;
|
||||
const { userId: currentUserId, isAdmin: currentUserIsAdmin } = req.auth;
|
||||
const { current_password, new_password } = req.body;
|
||||
const { id } = req.query;
|
||||
const userId = +id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue