diff --git a/app/actions/rooms.ts b/app/actions/rooms.ts index 4ce04d86c..514582ff6 100644 --- a/app/actions/rooms.ts +++ b/app/actions/rooms.ts @@ -11,7 +11,7 @@ export interface ISetSearch extends Action { } export interface IRoomsFailure extends Action { - err: string; + err: Record | string; } export type IRoomsAction = IRoomsRequest & ISetSearch & IRoomsFailure; diff --git a/app/reducers/rooms.ts b/app/reducers/rooms.ts index 86a9820f3..1a6705086 100644 --- a/app/reducers/rooms.ts +++ b/app/reducers/rooms.ts @@ -5,7 +5,7 @@ export interface IRooms { isFetching: boolean; refreshing: boolean; failure: boolean; - errorMessage: Record; + errorMessage: Record | string; searchText: string; showServerDropdown: boolean; closeServerDropdown: boolean;