From 447a60a5bbebd7322dc72204520ba90e68c3798c Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Wed, 29 Jan 2025 13:29:16 -0600 Subject: [PATCH] remove duplicate return --- src/Api/Vault/Controllers/SecurityTaskController.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Api/Vault/Controllers/SecurityTaskController.cs b/src/Api/Vault/Controllers/SecurityTaskController.cs index 94c7e8005a5f..3849b9d0b6cc 100644 --- a/src/Api/Vault/Controllers/SecurityTaskController.cs +++ b/src/Api/Vault/Controllers/SecurityTaskController.cs @@ -1,4 +1,4 @@ -using Bit.Api.Models.Response; +using Bit.Api.Models.Response; using Bit.Api.Vault.Models.Request; using Bit.Api.Vault.Models.Response; using Bit.Core; @@ -114,8 +114,5 @@ public async Task> BulkCreateTasks var response = securityTasks.Select(x => new SecurityTasksResponseModel(x)).ToList(); return new ListResponseModel(response); - - var response = securityTasks.Select(x => new SecurityTasksResponseModel(x)).ToList(); - return new ListResponseModel(response); } }