From 3d786cbf284aacc87de59aa98604964a8a30986a Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Thu, 2 Apr 2020 14:06:15 -0400 Subject: [PATCH] Update Cipher_SoftDelete.sql Co-Authored-By: Kyle Spearrin --- src/Sql/dbo/Stored Procedures/Cipher_SoftDelete.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Sql/dbo/Stored Procedures/Cipher_SoftDelete.sql b/src/Sql/dbo/Stored Procedures/Cipher_SoftDelete.sql index 126d35442..9e2b16bd8 100644 --- a/src/Sql/dbo/Stored Procedures/Cipher_SoftDelete.sql +++ b/src/Sql/dbo/Stored Procedures/Cipher_SoftDelete.sql @@ -24,8 +24,7 @@ BEGIN AND [Id] IN (SELECT * FROM @Ids) -- Delete ciphers - DECLARE @UtcNow DATETIME2(7); - SET @UtcNow = GETUTCDATE(); + DECLARE @UtcNow DATETIME2(7) = GETUTCDATE(); UPDATE [dbo].[Cipher] SET @@ -57,4 +56,4 @@ BEGIN EXEC [dbo].[User_BumpAccountRevisionDate] @UserId DROP TABLE #Temp -END \ No newline at end of file +END