Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When calling getPermissions api duplicate permissionIds are passed in the payload #211

Closed
2 tasks
ymaheshwari1 opened this issue Oct 11, 2023 · 2 comments · Fixed by #253
Closed
2 tasks
Labels
bug Something isn't working hacktoberfest

Comments

@ymaheshwari1
Copy link
Contributor

Current behavior

In the getPermissions api, duplicate permission keys are passed in the payload that is unnecessary

Expected behavior

Pass only the unique permissionIds in the api call

Steps to reproduce the issue

  1. Login into any app
  2. Inspect the network and check on the getPermissions api call
  3. Check that the same id is passed multiple times in the payload

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

@ymaheshwari1 ymaheshwari1 added bug Something isn't working hacktoberfest labels Oct 11, 2023
@Aayushisinghh
Copy link

I would like to contribute.

@alsoK2maan
Copy link
Contributor

Sure @Aayushisinghh go head

shanmukhdutt added a commit to shanmukhdutt/inventory-count that referenced this issue Dec 19, 2023
shanmukhdutt added a commit to shanmukhdutt/inventory-count that referenced this issue Jan 17, 2024
ravilodhi added a commit that referenced this issue Feb 9, 2024
Fixed: When calling getPermissions api duplicate permissionIds are passed in the payload(#211)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest
Projects
None yet
3 participants