chore: cleanup

This commit is contained in:
Erik Tiekstra
2024-08-15 08:14:23 +02:00
parent e7ec6b09c3
commit a0053335a6
5 changed files with 10 additions and 20 deletions

View File

@@ -29,3 +29,9 @@ export function insertResponseToImageVaultAsset(
},
}
}
export function makeImageVaultImage(image: any) {
return image && !!Object.keys(image).length
? insertResponseToImageVaultAsset(image as InsertResponse)
: undefined
}