Skip to content
Snippets Groups Projects
Commit 5ca1f86c authored by Zoltan Runyo's avatar Zoltan Runyo
Browse files

Merge branch 'fix-short-reference-loading' into 'develop'

Modify parameters after API changes

See merge request !230
parents 09cf0005 0abd7b3d
No related branches found
No related tags found
2 merge requests!270Merging develop branch to master in order to create RC,!230Modify parameters after API changes
Pipeline #124429 passed
......@@ -27,7 +27,7 @@ export function JobDetailFetcher({ deployment, index, setDeployments }) {
const [host, getHost] = useCSentryHost(onError);
useEffect(() => {
getTagOrCommitId(deployment.gitProjectId, deployment.sourceVersion);
getTagOrCommitId(deployment.gitProjectId, deployment.gitReference, false, 'EQUALS');
getHost(deployment.host.externalHostId);
}, [deployment, getTagOrCommitId, getHost])
......@@ -41,4 +41,4 @@ export function JobDetailFetcher({ deployment, index, setDeployments }) {
}, [index, setDeployments, tagOrCommitId, host])
return null;
}
\ No newline at end of file
}
......@@ -10,7 +10,7 @@ export function DeploymentDetailFetcher({ deployment, index, setDeployments }) {
const [host, getHost] = useCSentryHost(onError);
useEffect(() => {
getTagOrCommitId(deployment.gitProjectId, deployment.sourceVersion);
getTagOrCommitId(deployment.gitProjectId, deployment.gitReference, false, 'EQUALS');
getHost(deployment.host.externalHostId);
}, [deployment, getTagOrCommitId, getHost])
......@@ -23,4 +23,4 @@ export function DeploymentDetailFetcher({ deployment, index, setDeployments }) {
}, [index, setDeployments, tagOrCommitId, host])
return null;
}
\ No newline at end of file
}
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