Remove unused policy type from ApiData typeguard
This commit is contained in:
parent
4a7be94b92
commit
b148a46e3c
3 changed files with 7 additions and 20 deletions
|
@ -104,6 +104,10 @@ export class Room {
|
|||
|
||||
const data = result.data;
|
||||
|
||||
if (data.authenticationMandatory !== undefined) {
|
||||
data.authenticationMandatory = Boolean(data.authenticationMandatory);
|
||||
}
|
||||
|
||||
if (isRoomRedirect(data)) {
|
||||
return {
|
||||
redirectUrl: data.redirectUrl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue