修复: diff filepath为空报错
This commit is contained in:
parent
4b167dacbb
commit
6168256897
|
@ -26,6 +26,7 @@ class Api::V1::Projects::Pulls::Versions::GetDiffService < ApplicationService
|
||||||
access_token: token
|
access_token: token
|
||||||
}
|
}
|
||||||
params.merge!(filepath: filepath) if filepath.present?
|
params.merge!(filepath: filepath) if filepath.present?
|
||||||
|
params
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_gitea_data
|
def load_gitea_data
|
||||||
|
|
Loading…
Reference in New Issue