1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 02:54:32 -05:00

updated sproc to clear push token, not identifier

This commit is contained in:
Kyle Spearrin 2016-08-06 15:33:36 -04:00
parent da56901d17
commit d11ab85a05
2 changed files with 2 additions and 5 deletions

View File

@ -66,10 +66,7 @@ namespace Bit.Core.Repositories.SqlServer
{
await connection.ExecuteAsync(
$"[{Schema}].[{Table}_ClearPushTokenByIdentifier]",
new
{
Identifier = identifier
},
new { Identifier = identifier },
commandType: CommandType.StoredProcedure);
}
}

View File

@ -7,7 +7,7 @@ BEGIN
UPDATE
[dbo].[Device]
SET
[Identifier] = NULL
[PushToken] = NULL
WHERE
[Identifier] = @Identifier
END