Commit 8c5a607
committed
refactor: update last_context logic to use all user contexts
- Replaced organization retrieval with user contexts in last_context function.
- Simplified the logic for determining the last context by directly using the new context variable.
- Ensured that the last_context is updated correctly based on the latest transactions and bounties.1 parent 5a17944 commit 8c5a607
1 file changed
+9
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
| 453 | + | |
460 | 454 | | |
461 | | - | |
| 455 | + | |
462 | 456 | | |
463 | 457 | | |
464 | 458 | | |
| |||
0 commit comments