mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-05-14 01:44:12 -04:00
fix: update contentType in ImageManagement component to 'lodging' for correct media handling
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<ImageManagement
|
||||
bind:images
|
||||
objectId={itemId}
|
||||
contentType="location"
|
||||
contentType="lodging"
|
||||
defaultSearchTerm={itemName}
|
||||
{immichIntegration}
|
||||
{copyImmichLocally}
|
||||
|
||||
Reference in New Issue
Block a user