talawa-api / Exports / utilities/deleteDuplicatedImage
Module: utilities/deleteDuplicatedImage
Table of contents
Functions
Functions
deleteDuplicatedImage
▸ deleteDuplicatedImage(imagePath
): void
This function deletes a duplicated image using the function fs.unlink().
Parameters
Name | Type | Description |
---|---|---|
imagePath | PathLike | Path of the image |
Returns
void