reviewable-enterprise-tools 1.3.4 → 1.3.5

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.
Files changed (2) hide show
  1. package/load_data.js +2 -1
  2. package/package.json +1 -1
package/load_data.js CHANGED
@@ -66,7 +66,8 @@ if (uploadedFilesUrl) {
66
66
  async function load() {
67
67
  await import('./lib/loadFirebase.js');
68
68
  if (uploadedFilesUrl) gh = new Hubkit({
69
- host: process.env.REVIEWABLE_GITHUB_URL || 'https://github.com',
69
+ host: process.env.REVIEWABLE_GITHUB_URL ?
70
+ process.env.REVIEWABLE_GITHUB_URL + '/api/v3' : 'https://api.github.com',
70
71
  token: await fetchToken(args.admin)
71
72
  });
72
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reviewable-enterprise-tools",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "type": "module",
5
5
  "description": "Admin tools for Reviewable Enterprise",
6
6
  "bin": {