Start to show the list of families
This commit is contained in:
@ -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
|
||||
}}
|
||||
|
Reference in New Issue
Block a user