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

Add endpoint for retrieving the published (if any) version of a document #17278

Merged
merged 3 commits into from
Nov 8, 2024

Merge branch 'release/15.0' into v15/feature/get-published-document-v…

edecf84
Select commit
Loading
Failed to load commit list.
Merged

Add endpoint for retrieving the published (if any) version of a document #17278

Merge branch 'release/15.0' into v15/feature/get-published-document-v…
edecf84
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (release/15.0) failed Nov 5, 2024 in 42s

CodeScene PR Check

Code Health Quality Gates: FAILED

Change in average Code Health of affected files: -0.17 (9.61 -> 9.44)

  • Declining Code Health: 1 findings(s) 🚩

View detailed results in CodeScene

Details

🚩 Declining Code Health (highest to lowest):

  • Code Duplication DocumentPresentationFactory.cs

Annotations

Check warning on line 72 in src/Umbraco.Cms.Api.Management/Factories/DocumentPresentationFactory.cs

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (release/15.0)

❌ New issue: Code Duplication

The module contains 2 functions with similar structure: CreatePublishedResponseModelAsync,CreateResponseModelAsync. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.