console logging data returned when uploading image
Build and Push Image / build-and-push (push) Successful in 1m12s
Build and Push Image / build-and-push (push) Successful in 1m12s
This commit is contained in:
@@ -124,6 +124,7 @@ const applyImageToItem = async (itemId, localImagePath, token) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
console.log(`Returned item with image: ${JSON.stringify(data, null, 2)}`);
|
||||||
return data; // Returns the item with the new image
|
return data; // Returns the item with the new image
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error applying image:', error);
|
console.error('Error applying image:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user