screwdriver-api 7.0.105 → 7.0.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "7.0.105",
3
+ "version": "7.0.106",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -122,7 +122,7 @@
122
122
  "screwdriver-scm-bitbucket": "^5.0.1",
123
123
  "screwdriver-scm-github": "^12.6.0",
124
124
  "screwdriver-scm-gitlab": "^3.1.0",
125
- "screwdriver-scm-router": "^7.0.0",
125
+ "screwdriver-scm-router": "^7.1.0",
126
126
  "screwdriver-template-validator": "^7.0.0",
127
127
  "screwdriver-workflow-parser": "^4.1.1",
128
128
  "sqlite3": "^5.1.4",
@@ -111,7 +111,8 @@ function addOAuthRoutes(config) {
111
111
  if (scmConfig && scmConfig.gheCloud) {
112
112
  const isEnterpriseUser = await userFactory.scm.isEnterpriseUser({
113
113
  token: accessToken,
114
- login: username
114
+ login: username,
115
+ scmContext
115
116
  });
116
117
 
117
118
  if (!isEnterpriseUser) {