chore: cleanup
This commit is contained in:
@@ -29,3 +29,9 @@ export function insertResponseToImageVaultAsset(
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export function makeImageVaultImage(image: any) {
|
||||
return image && !!Object.keys(image).length
|
||||
? insertResponseToImageVaultAsset(image as InsertResponse)
|
||||
: undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user