File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,12 @@ import { ConfigsProps } from "../context/reducers/appReducer";
44import { RoomProps } from "../context/reducers/roomsReducer" ;
55import PackageJson from "../package.json" ;
66
7- interface AuthKeysProps {
7+ export interface InitiateProps {
88 apiKey : string ;
99 subscriptionKey : string ;
1010}
1111
12- export interface InitiateProps extends AuthKeysProps {
13- tenantId : string ;
14- }
15-
16- interface OnlineInfoProps extends AuthKeysProps {
12+ interface OnlineInfoProps extends InitiateProps {
1713 userIds : string ;
1814}
1915
@@ -22,7 +18,7 @@ type OnlineInfoReturnProps = Pick<
2218 "chatAuthId" | "socketId" | "online"
2319> ;
2420
25- interface ReadTokenProps extends AuthKeysProps {
21+ interface ReadTokenProps extends InitiateProps {
2622 roomIds : string ;
2723}
2824
@@ -103,7 +99,6 @@ export const getRoomsReadToken = async (props: ReadTokenProps) => {
10399 } ,
104100 } ,
105101 ) ;
106-
107102 return response . data ;
108103 } catch {
109104 // TODO: Log error
You can’t perform that action at this time.
0 commit comments