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

Store partyId locally #353

Merged
merged 10 commits into from
Mar 13, 2024
Merged

Store partyId locally #353

merged 10 commits into from
Mar 13, 2024

Conversation

Andreass2
Copy link
Collaborator

@Andreass2 Andreass2 commented Mar 12, 2024

Description

  • Stores partyId in our local db to avoid a new request on each event. Getting partyId can be a bottleneck, so this will improve performance.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@Andreass2
Copy link
Collaborator Author

Also updated test for resource, as duplicate now gives 400 error.

@Andreass2 Andreass2 merged commit 39df4ec into main Mar 13, 2024
1 check passed
@Andreass2 Andreass2 deleted the bug-local-partyid branch March 13, 2024 08:39
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.

2 participants