Commit d82a9c5
Fix case-sensitivity bug in Cosmos DB queries for GetMessageCountAsync and ClearMessagesAsync
The count and delete queries used c.Type (capital T) instead of c.type (lowercase t),
which doesn't match the stored document property name. Cosmos DB property names are
case-sensitive, so these queries would always return 0 results.
Fixes the same issue as microsoft#3485 but applied cleanly to current main.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 44aec20 commit d82a9c5
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
0 commit comments