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

Cannot download separate attachment files #84

Open
aleksandar-manukov opened this issue Feb 22, 2023 · 0 comments · May be fixed by #85
Open

Cannot download separate attachment files #84

aleksandar-manukov opened this issue Feb 22, 2023 · 0 comments · May be fixed by #85

Comments

@aleksandar-manukov
Copy link

When there are more than one attachment, we cannot download separate attachment files using:

public DownloadedFile DownloadAttachmentFile(PackageId packageId, String attachmentId, Int32 fileId)

because the path template used in the DownloadAttachmentFile(string packageId, string attachmentId, Int32 fileId) method in the AttachmentRequirementApiClient is wrong:
string path = template.UrlFor(UrlTemplate.ATTACHMENT_REQUIREMENT_PATH)

Fix: UrlTemplate.ATTACHMENT_REQUIREMENT_PATH -> UrlTemplate.ATTACHMENT_FILE_PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant