Skip to content

Commit

Permalink
upsert provider
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoVK committed May 31, 2024
1 parent eb455fa commit 84a8c9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void ingestProviderData(Provider provider) {
} catch (NotFoundException cosmosException) {
providerToIngest = provider;
}
providerContainer.createItem(
providerContainer.upsertItem(
providerToIngest,
new PartitionKey(provider.getId()),
new CosmosItemRequestOptions()
Expand Down

0 comments on commit 84a8c9c

Please sign in to comment.