refactor code based on feedback
This commit is contained in:
parent
2dc2bad623
commit
0abd85f919
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module API
|
|||
success Entities::ProjectImportStatus
|
||||
end
|
||||
post 'import' do
|
||||
render_api_error!('The file is invalid', 400) unless file_is_valid?
|
||||
validate_file!
|
||||
|
||||
Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/42437')
|
||||
|
||||
|
|
Loading…
Reference in a new issue