Fix build issues
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-03 14:53:06 +01:00
parent f6568cf059
commit fb35fca56e
10 changed files with 37 additions and 34 deletions

View File

@@ -13,13 +13,13 @@ export class MatrixApiProfile {
* Get multiple profiles information
*/
static async GetMultiple(ids: string[]): Promise<UsersMap> {
const list: UserProfile[] = (
const list = (
await APIClient.exec({
method: "POST",
uri: "/matrix/profile/get_multiple",
jsonData: ids,
})
).data;
).data as UserProfile[];
return new Map(list.map((e) => [e.user_id, e]));
}