diff --git a/scripts/fetchdep.sh b/scripts/fetchdep.sh index 9091a2ba..3725eff3 100755 --- a/scripts/fetchdep.sh +++ b/scripts/fetchdep.sh @@ -29,7 +29,7 @@ getPRInfo() { if [ -n "$number" ]; then echo "Getting info about a PR with number $number" - apiEndpoint="https://api.github.com/repos/matrix-org/matrix-react-sdk/pulls/" + apiEndpoint="https://api.github.com/repos/${REPOSITORY:-"vector-im/element-desktop"}/pulls/" apiEndpoint+=$number head=$(curl $apiEndpoint | jq -r '.head.label')