@gitbeaker/core 41.2.0 → 41.3.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/README.md CHANGED
@@ -1929,6 +1929,7 @@ import { Gitlab } from '@gitbeaker/core';
1929
1929
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/roberta-pavel"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/26488965?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="roberta-pavel"/></td>
1930
1930
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/yousinix"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/41103290?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Youssef"/></td>
1931
1931
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/mpsanchis"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/33475618?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Miguel"/></td>
1932
+ <td align="center" valign="top" width="0.33%"><a href="https://github.com/Retr0-01"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/61121754?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Giannis Kepas"/></td>
1932
1933
  </tr>
1933
1934
  </p>
1934
1935
 
package/dist/index.js CHANGED
@@ -915,7 +915,7 @@ var ResourceAccessRequests = class extends requesterUtils.BaseResource {
915
915
  );
916
916
  }
917
917
  approve(resourceId, userId, options) {
918
- return RequestHelper.post()(
918
+ return RequestHelper.put()(
919
919
  this,
920
920
  endpoint`${resourceId}/access_requests/${userId}/approve`,
921
921
  options
package/dist/index.mjs CHANGED
@@ -909,7 +909,7 @@ var ResourceAccessRequests = class extends BaseResource {
909
909
  );
910
910
  }
911
911
  approve(resourceId, userId, options) {
912
- return RequestHelper.post()(
912
+ return RequestHelper.put()(
913
913
  this,
914
914
  endpoint`${resourceId}/access_requests/${userId}/approve`,
915
915
  options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "41.2.0",
3
+ "version": "41.3.0",
4
4
  "description": "Core API implementation of the GitLab API",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -52,7 +52,7 @@
52
52
  "lint:fix": "yarn lint --fix"
53
53
  },
54
54
  "dependencies": {
55
- "@gitbeaker/requester-utils": "^41.2.0",
55
+ "@gitbeaker/requester-utils": "^41.3.0",
56
56
  "qs": "^6.12.2",
57
57
  "xcase": "^2.0.1"
58
58
  },
@@ -63,5 +63,5 @@
63
63
  "tsx": "^4.16.2",
64
64
  "typescript": "^5.5.3"
65
65
  },
66
- "gitHead": "b437feab518c9cde14a9b96a12c13d95bf73a9ac"
66
+ "gitHead": "5e70aa3e612a2b16436c3d39412191689ee00ed3"
67
67
  }