From ac4882a840ecb48fd2d73174477c725a4c2b39ef Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Tue, 18 Mar 2025 13:58:48 +0100 Subject: [PATCH] Fix SQL warnings --- .../OpaqueKeyExchangeCredential_DeleteById.sql | 2 +- src/Sql/dbo/Stored Procedures/User_DeleteById.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sql/Auth/dbo/Stored Procedures/OpaqueKeyExchangeCredential_DeleteById.sql b/src/Sql/Auth/dbo/Stored Procedures/OpaqueKeyExchangeCredential_DeleteById.sql index f2634da1cf..8bd4d01be3 100644 --- a/src/Sql/Auth/dbo/Stored Procedures/OpaqueKeyExchangeCredential_DeleteById.sql +++ b/src/Sql/Auth/dbo/Stored Procedures/OpaqueKeyExchangeCredential_DeleteById.sql @@ -1,5 +1,5 @@ CREATE PROCEDURE [dbo].[OpaqueKeyExchangeCredential_DeleteById] - @Id UNIQUEIDENTIFIER, + @Id UNIQUEIDENTIFIER AS BEGIN DELETE diff --git a/src/Sql/dbo/Stored Procedures/User_DeleteById.sql b/src/Sql/dbo/Stored Procedures/User_DeleteById.sql index 55797e57a2..5f8f66c4b5 100644 --- a/src/Sql/dbo/Stored Procedures/User_DeleteById.sql +++ b/src/Sql/dbo/Stored Procedures/User_DeleteById.sql @@ -29,7 +29,7 @@ BEGIN FROM [dbo].[OpaqueKeyExchangeCredential] WHERE - [UserId] = @UserId + [UserId] = @Id -- Delete WebAuthnCredentials DELETE