Add branch selection support for git gateway (#618)
This commit is contained in:
parent
62d88b9e6f
commit
1fa949395f
@ -67,6 +67,7 @@ export default class GitGateway extends GitHubBackend {
|
|||||||
};
|
};
|
||||||
this.api = new API({
|
this.api = new API({
|
||||||
api_root: this.github_proxy_url,
|
api_root: this.github_proxy_url,
|
||||||
|
branch: this.branch,
|
||||||
tokenPromise: this.tokenPromise,
|
tokenPromise: this.tokenPromise,
|
||||||
commitAuthor: pick(userData, ["name", "email"]),
|
commitAuthor: pick(userData, ["name", "email"]),
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user