From 8c91b5658d58891e484b4f3232d872028f1f736f Mon Sep 17 00:00:00 2001 From: meetul Date: Mon, 28 Oct 2024 01:10:32 +0530 Subject: [PATCH] fix linting error --- src/resolvers/Mutation/removeFromUserTags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolvers/Mutation/removeFromUserTags.ts b/src/resolvers/Mutation/removeFromUserTags.ts index fce002ad188..c6e2dac4d22 100644 --- a/src/resolvers/Mutation/removeFromUserTags.ts +++ b/src/resolvers/Mutation/removeFromUserTags.ts @@ -130,7 +130,7 @@ export const removeFromUserTags: MutationResolvers["removeFromUserTags"] = } // Get all descendant tags of the selected tags (including the selected tags themselves) - let allTagsToRemove = new Set(); + const allTagsToRemove = new Set(); let currentParents = selectedTags.map((tag) => tag._id.toString()); while (currentParents.length > 0) {