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