diff options
Diffstat (limited to 'lib/api/lsif_data.rb')
-rw-r--r-- | lib/api/lsif_data.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/lsif_data.rb b/lib/api/lsif_data.rb index 63e6eb3ab2d..6513973133a 100644 --- a/lib/api/lsif_data.rb +++ b/lib/api/lsif_data.rb @@ -21,9 +21,9 @@ module API authorize! :download_code, user_project artifact = - @project.job_artifacts + Ci::JobArtifact .with_file_types(['lsif']) - .for_sha(params[:commit_id]) + .for_sha(params[:commit_id], @project.id) .last not_found! unless artifact |