Remove unused policy type from ApiData typeguard
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user