Start to show the list of families

This commit is contained in:
2023-07-04 19:05:36 +02:00
parent 1a4a7985e0
commit 947a3ad274
2 changed files with 44 additions and 9 deletions

View File

@ -46,4 +46,14 @@ export class FamilyApi {
return JoinFamilyResult.Error;
}
}
}
/**
* Get the list of families
*/
static async GetList():Promise<Family[]> {
return (await APIClient.exec({
method: "GET",
uri: "/family/list",
})).data
}}