mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix inconsistent naming formats
This commit is contained in:
parent
f9092e0678
commit
fdccb5c915
7 changed files with 41 additions and 39 deletions
|
@ -12,7 +12,7 @@ import AccessContainer from '../../../../components/dashboard/users/AccessContai
|
|||
import CheckBoxElement from '../../../../elements/CheckBoxElement';
|
||||
import Page from '../../../../components/Page';
|
||||
|
||||
type userInput = {
|
||||
type UserInput = {
|
||||
Name?: string;
|
||||
Password?: string;
|
||||
};
|
||||
|
@ -110,7 +110,7 @@ const UserNew = () => {
|
|||
loadUser();
|
||||
|
||||
const saveUser = () => {
|
||||
const userInput: userInput = {};
|
||||
const userInput: UserInput = {};
|
||||
userInput.Name = (page.querySelector('#txtUsername') as HTMLInputElement).value;
|
||||
userInput.Password = (page.querySelector('#txtPassword') as HTMLInputElement).value;
|
||||
window.ApiClient.createUser(userInput).then(function (user) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue