1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-01 23:31:41 +01:00

import should be in the transaction scope

This commit is contained in:
Kyle Spearrin 2017-05-08 13:42:04 -04:00
parent 83fa591010
commit a03c19d693

View File

@ -347,7 +347,7 @@ namespace Bit.Core.Repositories.SqlServer
await connection.ExecuteAsync(
$"[{Schema}].[User_BumpAccountRevisionDate]",
new { Id = ciphers.First().UserId },
commandType: CommandType.StoredProcedure);
commandType: CommandType.StoredProcedure, transaction: transaction);
transaction.Commit();
}