Skip to content
Snippets Groups Projects
Unverified Commit 3271fb36 authored by Steve Azzopardi's avatar Steve Azzopardi
Browse files

Resolve conflict in lib/api/files.rb

parent 8e907ede
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,13 +2,9 @@
 
module API
class Files < Grape::API
<<<<<<< HEAD
FILE_ENDPOINT_REQUIREMENTS = API::PROJECT_ENDPOINT_REQUIREMENTS.merge(file_path: API::NO_SLASH_URL_PART_REGEX)
=======
include APIGuard
 
FILE_ENDPOINT_REQUIREMENTS = API::NAMESPACE_OR_PROJECT_REQUIREMENTS.merge(file_path: API::NO_SLASH_URL_PART_REGEX)
>>>>>>> 1c9b10016a3... Merge branch '54826-use-read_repository-scope-on-read-only-files-endpoints' into 'master'
FILE_ENDPOINT_REQUIREMENTS = API::PROJECT_ENDPOINT_REQUIREMENTS.merge(file_path: API::NO_SLASH_URL_PART_REGEX)
 
# Prevents returning plain/text responses for files with .txt extension
after_validation { content_type "application/json" }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment