Merge branch 'dev' into frontend
This commit is contained in:
commit
7cc74866fc
6 changed files with 59 additions and 98 deletions
|
|
@ -40,7 +40,7 @@ export default function Register(): JSX.Element {
|
|||
|
||||
const handleRegister = async (): Promise<void> => {
|
||||
const newUser: NewUser = {
|
||||
userName: username ?? "",
|
||||
username: username ?? "",
|
||||
password: password ?? "",
|
||||
};
|
||||
const response = await api.registerUser(newUser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue