forked from AkkomaGang/akkoma-fe
make sure to have rights property of user object
This commit is contained in:
parent
1747cd8771
commit
12f8269f01
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ export const parseUser = (data) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
output.tags = output.tags || []
|
output.tags = output.tags || []
|
||||||
|
output.rights = output.rights || {}
|
||||||
|
|
||||||
return output
|
return output
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue