fix: update contentType in ImageManagement component to 'lodging' for correct media handling

This commit is contained in:
Sean Morley
2025-12-23 16:57:33 -05:00
parent b521e54d9e
commit e3e05b5ba3
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@
formData.append('content_type', contentType);
try {
const res = await fetch(`/${contentType}s?/image`, {
const res = await fetch(`/locations?/image`, {
method: 'POST',
body: formData
});

View File

@@ -72,7 +72,7 @@
<ImageManagement
bind:images
objectId={itemId}
contentType="location"
contentType="lodging"
defaultSearchTerm={itemName}
{immichIntegration}
{copyImmichLocally}