s22
parent
b909a85225
commit
e8c29025aa
|
@ -41,6 +41,7 @@ const saveGalleryImage = async (req, res) => {
|
||||||
throw new Error('Image upload failed: ' + uploadResponse.statusText);
|
throw new Error('Image upload failed: ' + uploadResponse.statusText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Extract and store the uploaded image URL from the response
|
// Extract and store the uploaded image URL from the response
|
||||||
const screenshotUrl = uploadResponse.data.urls[0];
|
const screenshotUrl = uploadResponse.data.urls[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue