Commit 254ce1f
committed
Await UpsertEntity in ApplyContentToEntityAsync
Await the UpsertEntity call so the upsert completes before SaveChangesAsync is invoked. This ensures the asynchronous operation finishes and avoids potential race conditions or missing data when saving changes.1 parent e9bb9fe commit 254ce1f
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments