Commit e9fc504
committed
fix: don't hard-require project in contributors_leaderboard when collectionSlug is set
Found by live-verifying the segments_filtered_by_collection deploy against
prod: contributors_leaderboard's is_request_from_non_lf_project node had
its own independent required=True on project (unrelated to segment
scoping, used only to decide displayName vs publicName), which broke
data-mode calls with collectionSlug even though count mode worked. A
collection spans many projects with mixed LF/non-LF status, so
collection-scoped requests now always use displayName.
Signed-off-by: Gašper Grom <gasper.grom@gmail.com>1 parent 4498228 commit e9fc504
1 file changed
Lines changed: 12 additions & 7 deletions
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments