itlab-internal-services 2.6.7 → 2.7.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.
@@ -56,7 +56,7 @@ let CommentService = CommentService_1 = class CommentService {
56
56
  this.logger = new common_1.Logger(CommentService_1.name);
57
57
  /** The axios instance */
58
58
  this.axios = (0, axios_1.createAxios)({
59
- baseUrl: 'https://services.svi-itlab.com/comment/internal/',
59
+ baseUrl: 'https://services.svi-itlab.com/comments/internal/',
60
60
  k8sToken: this.configService.getOrThrow(env_1.ENV_K8S_TOKEN),
61
61
  });
62
62
  }
@@ -21,7 +21,7 @@ const transform = {
21
21
  username: ret.username,
22
22
  };
23
23
  if (ret.avatar)
24
- account.avatar = `https://services.svi-itlab.com/account/avatar/${ret.id}`;
24
+ account.avatar = `https://services.svi-itlab.com/accounts/avatar/${ret.id}`;
25
25
  return account;
26
26
  },
27
27
  };
@@ -39,7 +39,7 @@ const ENDPOINTS = {
39
39
  [hub_resource_enum_1.FetchableHubResource.HACKSCHOOL_DOC]: '/hackschool/internal/doc/%id%',
40
40
  [hub_resource_enum_1.FetchableHubResource.TEAM_MEMBER]: '/team/internal/member/%id%',
41
41
  [hub_resource_enum_1.FetchableHubResource.NEWSLETTER_ISSUE]: '/newsletter/internal/issue/%id%',
42
- [hub_resource_enum_1.FetchableHubResource.HUB_USER]: '/account/internal/account/%id%',
42
+ [hub_resource_enum_1.FetchableHubResource.HUB_USER]: '/accounts/internal/account/%id%',
43
43
  };
44
44
  /**
45
45
  * Fetch service
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "timo.scheuermann@sv-informatik.de",
6
6
  "url": "https://timos.design"
7
7
  },
8
- "version": "2.6.7",
8
+ "version": "2.7.0",
9
9
  "type": "commonjs",
10
10
  "files": [
11
11
  "dist"