diff --git a/web/src/lib/components/photos-page/actions/change-location.svelte b/web/src/lib/components/photos-page/actions/change-location.svelte index 0512fcdcf3..35c60152f1 100644 --- a/web/src/lib/components/photos-page/actions/change-location.svelte +++ b/web/src/lib/components/photos-page/actions/change-location.svelte @@ -21,6 +21,7 @@ .map((a) => a.id); try { + await api.assetApi.updateAssets({ assetBulkUpdateDto: { ids, diff --git a/web/src/lib/components/shared-components/change-location.svelte b/web/src/lib/components/shared-components/change-location.svelte index c72b7e957e..8ee3fc2690 100644 --- a/web/src/lib/components/shared-components/change-location.svelte +++ b/web/src/lib/components/shared-components/change-location.svelte @@ -29,7 +29,7 @@ }; const handleConfirm = () => { - dispatch('confirm', { lat, lng }); + dispatch('confirm', point); };