Can download / delete member photo

This commit is contained in:
2023-08-10 13:53:23 +02:00
parent 1cf79e621f
commit 39c7163290
4 changed files with 67 additions and 14 deletions

View File

@ -199,6 +199,16 @@ export class MemberApi {
});
}
/**
* Remove the photo of a member
*/
static async RemoveMemberPhoto(m: Member): Promise<void> {
await APIClient.exec({
uri: `/family/${m.family_id}/member/${m.id}/photo`,
method: "DELETE",
});
}
/**
* Delete a family member
*/