fixed github import bug

This commit is contained in:
Steven Hugg 2021-01-14 15:43:22 -06:00
parent f75141be30
commit cd10deafc2
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ export class GithubService {
subtreepath: urlparse.subtreepath,
prefix: '', //this.getPrefix(urlparse.user, urlparse.repo),
repo: repo,
platform_id: this.project ? this.project.platform_id : saved.platform_id
platform_id: this.project ? this.project.platform_id : (saved ? saved.platform_id : null)
};
//console.log(sess);
return sess;