diff --git a/src/Infrastructure.Dapper/Repositories/UserRepository.cs b/src/Infrastructure.Dapper/Repositories/UserRepository.cs index 58176d3f79..fe5436f1da 100644 --- a/src/Infrastructure.Dapper/Repositories/UserRepository.cs +++ b/src/Infrastructure.Dapper/Repositories/UserRepository.cs @@ -109,7 +109,7 @@ namespace Bit.Infrastructure.Dapper.Repositories public async Task GetAccountRevisionDateAsync(Guid id) { - using (var connection = new SqlConnection(ConnectionString)) + using (var connection = new SqlConnection(ReadOnlyConnectionString)) { var results = await connection.QueryAsync( $"[{Schema}].[{Table}_ReadAccountRevisionDateById]",