diff --git a/packages/api-client/controllers/activity.ts b/packages/api-client/controllers/activity.ts index e4bde9e0..1b7f8320 100644 --- a/packages/api-client/controllers/activity.ts +++ b/packages/api-client/controllers/activity.ts @@ -1,7 +1,7 @@ import type { IRequestAdapter } from '~/interfaces/adapter' import type { IController } from '~/interfaces/controller' import type { IRequestHandler } from '~/interfaces/request' -import type { ActivityPresence } from '~/models/activity' +import type { ActivityPresence, RoomsData } from '~/models/activity' import type { HTTPClient } from '../core' import { autoBind } from '~/utils/auto-bind' @@ -84,6 +84,6 @@ export class ActivityController implements IController { } async getRoomsInfo() { - return this.proxy.rooms.get<{}>() + return this.proxy.rooms.get() } }