Describe the bug
In backend/apps/slack/common/handlers/users.py we are assigning a query message to a variable called blocks, right after that it is assigned block = [ ]. Which makes the blocks assignment redundant.
To Reproduce
Steps to reproduce the behavior:
- Go to backend/apps/slack/common/handlers/users.py
- remove the block = []
Expected behavior
blocks was previously immediately overwritten, which won't be happening as blocks will remain a single entity
Are you going to work on fixing this?
Additional context
https://sonarcloud.io/project/issues?impactSeverities=MEDIUM&issueStatuses=OPEN%2CCONFIRMED&id=OWASP_Nest&open=AZVOfc228k-bWeSEH1Nd&tab=code