Skip to content

Revise README for clarity and refactor agenda query logic - #30

Merged
prinako merged 2 commits into
mainfrom
dev
Jul 21, 2026
Merged

prinako merged 2 commits into
mainfrom
dev

Conversation

@prinako

@prinako prinako commented Jul 21, 2026

Copy link
Copy Markdown
Owner

This pull request updates the logic for retrieving agenda payments by sender in the getAllAgendaPaymentBySender function. The main change is to restrict the results to only those payments where the sender is the creator, rather than also including payments where the sender is a responsible member. The previous implementation is preserved as a commented-out block for reference.

Agenda payment retrieval logic changes:

  • Updated the SQL query in getAllAgendaPaymentBySender to only include agenda payments where the sender is the creator (creator.telegram_id = $1), removing the condition that also included responsible members.
  • Added the previous version of the function as a commented-out block for reference and potential rollback.

prinako added 2 commits July 20, 2026 22:25
…tionality

This commit updates the README.md to provide a clearer overview of the Tele Bot Node project, including its purpose, architecture, and features. It enhances the structure and organization of the documentation, adds service responsibilities, and improves the quick start guide for better user onboarding. Additionally, it includes updated diagrams and descriptions to reflect the current system design and functionality.
…entBySender function

This commit refactors the getAllAgendaPaymentBySender function by streamlining the SQL query to remove unnecessary conditions, enhancing readability and performance. Additionally, commented-out code for an alternative implementation is retained for future reference, ensuring clarity in the evolution of the function's logic.
@prinako
prinako merged commit 93e1464 into main Jul 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant