1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00

make event message processing idempotent

This commit is contained in:
Kyle Spearrin
2019-03-19 17:12:55 -04:00
parent 625ed1a1ee
commit fd8a8c8b67
3 changed files with 11 additions and 6 deletions

View File

@ -109,7 +109,7 @@ namespace Bit.Core.Repositories.TableStorage
public async Task CreateEntityAsync(ITableEntity entity)
{
await _table.ExecuteAsync(TableOperation.Insert(entity));
await _table.ExecuteAsync(TableOperation.InsertOrReplace(entity));
}
public async Task<PagedResult<IEvent>> GetManyAsync(string partitionKey, string rowKey,