change username to user

This commit is contained in:
Adrian Zürcher
2026-02-19 10:51:09 +01:00
parent ab88acd740
commit e686a27bf1
6 changed files with 23 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ export default boot(async ({ app }) => {
useStore
.setUser({
id: resp.data.id,
username: resp.data.username,
user: resp.data.username,
role: { role: resp.data.role, permissions: [] },
})
.catch((err) => console.error(err));