Skip to content

Commit 0a8dd70

Browse files
committed
style: sonarqube security
1 parent 72a1a62 commit 0a8dd70

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/image/image-repository.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class ImageRepository {
1515
* @return { Promise<ImageProp> } - A new image created
1616
*/
1717
async create(image: ImageProp): Promise<ImageProp> {
18-
1918
const sanitizedTagId = image.tag.tag_id?.toString();
2019
if (!Types.ObjectId.isValid(image.tag.tag_id)) {
2120
throw new Error('Invalid tag id');

0 commit comments

Comments
 (0)