Skip to content

Conversation

@arpandhakal
Copy link
Collaborator

@arpandhakal arpandhakal commented Nov 3, 2025

The main changes are

  • appended a param of companyId of the logged in client while fetching task count. This causes the tasks api to return only those tasks that are assigned to the logged in client/company.
  • Adding a companyId param to the getAllTasks api call ensures that only those tasks having clientId and companyId same as the logged in client's clientId and companyId will be fetched. This makes sure that we don't fetch any other tasks that are accessible to the client like shared tasks.

Testing

Before:
image
image

After:
image

- appended a param of companyId of the logged in client while fetching task count. This causes the tasks api to return only those tasks that are assigned to the logged in client/company.
@arpandhakal arpandhakal requested a review from rrojan November 3, 2025 09:26
@arpandhakal arpandhakal self-assigned this Nov 3, 2025
@linear
Copy link

linear bot commented Nov 3, 2025

@vercel
Copy link
Contributor

vercel bot commented Nov 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
client-home Ready Ready Preview Comment Nov 3, 2025 9:26am

Copy link
Collaborator

@rrojan rrojan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎖️

@arpandhakal arpandhakal merged commit 495c5aa into main Nov 3, 2025
3 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.

3 participants