Add api logs back in

This commit is contained in:
Kurt Hutten
2021-06-19 10:29:10 +10:00
parent 35a1d84951
commit 13f769af5e
2 changed files with 3 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ export const updatePart = async ({ id, input }) => {
where: { id },
})
if (imageToDestroy) {
// console.log(`image destroyed, publicId: ${imageToDestroy}, partId: ${id}`)
console.log(`image destroyed, publicId: ${imageToDestroy}, partId: ${id}`)
// destroy after the db has been updated
destroyImage({ publicId: imageToDestroy })
}