make sure to have rights property of user object
This commit is contained in:
parent
1747cd8771
commit
12f8269f01
|
@ -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 New Issue