Skip to content

Return content from repo in snippet raw endpoint

Francisco Javier López requested to merge fj-fix-raw-snippet-endpoint into master

What does this MR do?

Before this MR, the raw endpoint in both project and personal snippets were returning the snippet content from the database, but that is no longer true.

If the feature flag version_snippets is enabled and the snippet repository is not empty we must return the content from the repository.

Does this MR meet the acceptance criteria?

Conformity

Edited by Francisco Javier López

Merge request reports

Loading