mirror of
https://github.com/bitwarden/server
synced 2025-12-27 21:53:24 +00:00
updated sproc to clear push token, not identifier
This commit is contained in:
@@ -66,10 +66,7 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
{
|
||||
await connection.ExecuteAsync(
|
||||
$"[{Schema}].[{Table}_ClearPushTokenByIdentifier]",
|
||||
new
|
||||
{
|
||||
Identifier = identifier
|
||||
},
|
||||
new { Identifier = identifier },
|
||||
commandType: CommandType.StoredProcedure);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ BEGIN
|
||||
UPDATE
|
||||
[dbo].[Device]
|
||||
SET
|
||||
[Identifier] = NULL
|
||||
[PushToken] = NULL
|
||||
WHERE
|
||||
[Identifier] = @Identifier
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user