mirror of
https://github.com/immich-app/immich.git
synced 2025-12-05 00:04:05 +09:00
feat(server): create a person with optional values (#7706)
* feat: create person dto * chore: open api * fix: e2e * fix: web usage
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
faceDto: { id: peopleWithFace.id },
|
||||
});
|
||||
} else if (selectedPersonToCreate[index]) {
|
||||
const data = await createPerson();
|
||||
const data = await createPerson({ personCreateDto: {} });
|
||||
numberOfPersonToCreate.push(data.id);
|
||||
await reassignFacesById({
|
||||
id: data.id,
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
try {
|
||||
disableButtons = true;
|
||||
const data = await createPerson();
|
||||
const data = await createPerson({ personCreateDto: {} });
|
||||
await reassignFaces({ id: data.id, assetFaceUpdateDto: { data: selectedPeople } });
|
||||
|
||||
notificationController.show({
|
||||
|
||||
Reference in New Issue
Block a user