mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): don't expose source types in face creation api (#16381)
* don't expose source types in face creation api * update open-api * remove source type reference from web
This commit is contained in:
parent
967c69317b
commit
7d6cfd09e6
6 changed files with 4 additions and 27 deletions
|
|
@ -4,7 +4,7 @@
|
|||
import { notificationController } from '$lib/components/shared-components/notification/notification';
|
||||
import { isFaceEditMode } from '$lib/stores/face-edit.svelte';
|
||||
import { getPeopleThumbnailUrl } from '$lib/utils';
|
||||
import { getAllPeople, createFace, type PersonResponseDto, SourceType } from '@immich/sdk';
|
||||
import { getAllPeople, createFace, type PersonResponseDto } from '@immich/sdk';
|
||||
import { Button } from '@immich/ui';
|
||||
import { Canvas, InteractiveFabricObject, Rect } from 'fabric';
|
||||
import { onMount } from 'svelte';
|
||||
|
|
@ -288,7 +288,6 @@
|
|||
assetFaceCreateDto: {
|
||||
assetId,
|
||||
personId: person.id,
|
||||
sourceType: SourceType.Manual,
|
||||
...data,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue