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

1801 Remove code dups for search and get documents #2282

Merged
merged 4 commits into from
Jun 19, 2024
Merged

Conversation

leite08
Copy link
Member

@leite08 leite08 commented Jun 15, 2024

Ticket: https://github.com/metriport/metriport-internal/issues/1801

Dependencies

  • Upstream: none
  • Downstream: TBD

Description

Remove code dups for search and get documents.

Testing

  • Local
    • unit tests
    • ...
  • Staging
    • Search documents
    • Bulk download doc URLs
  • Sandbox
    • none
  • Production
    • none

Release Plan

  • Merge this

documentIds?: string[];
from?: string | undefined;
to?: string | undefined;
} = {}) {
const filters = new URLSearchParams();
patientId && filters.append("patient", patientId);
documentIds.length && filters.append(`_ids`, documentIds.join(","));
Copy link
Member Author

Choose a reason for hiding this comment

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

🐛 🔫 (_ids)

@leite08 leite08 marked this pull request as ready for review June 15, 2024 18:55
@leite08 leite08 added this pull request to the merge queue Jun 19, 2024
@leite08 leite08 mentioned this pull request Jun 19, 2024
3 tasks
Merged via the queue into develop with commit ce53590 Jun 19, 2024
13 checks passed
@leite08 leite08 deleted the 1827-doc-id branch June 19, 2024 20:21
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.

None yet

2 participants