@opentermsarchive/engine 0.36.1 → 0.37.0

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": "@opentermsarchive/engine",
3
- "version": "0.36.1",
3
+ "version": "0.37.0",
4
4
  "description": "Tracks and makes visible changes to the terms of online services",
5
5
  "homepage": "https://github.com/OpenTermsArchive/engine#readme",
6
6
  "bugs": {
@@ -24,14 +24,6 @@ export default class GitHub {
24
24
  }
25
25
 
26
26
  async initialize() {
27
- try {
28
- const { data: user } = await this.octokit.request('GET /user', { ...this.commonParams });
29
-
30
- this.authenticatedUserLogin = user.login;
31
- } catch (error) {
32
- logger.error(`🤖 Could not get authenticated user: ${error}`);
33
- }
34
-
35
27
  this.MANAGED_LABELS = require('./labels.json');
36
28
 
37
29
  const existingLabels = await this.getRepositoryLabels();
@@ -140,7 +132,6 @@ export default class GitHub {
140
132
  const issues = await this.octokit.paginate('GET /repos/{owner}/{repo}/issues', {
141
133
  ...this.commonParams,
142
134
  per_page: 100,
143
- creator: this.authenticatedUserLogin,
144
135
  ...searchParams,
145
136
  }, response => response.data);
146
137