Closed unilynx closed 3 weeks ago
Description
Support for "Force push mirror update" is missing - https://docs.gitlab.com/ee/api/remote_mirrors.html#force-push-mirror-update
Proposal
I hotfixed the NPM module as follows, adding sync() to ProjectRemoteMirrors:
sync(projectId, mirrorId) { return RequestHelper.post()( this, endpoint`projects/${projectId}/remote_mirrors/${mirrorId}/sync` ); }
This seems to work
Checklist
:rocket: Issue was released in 40.2.0 :rocket:
40.2.0
Description
Support for "Force push mirror update" is missing - https://docs.gitlab.com/ee/api/remote_mirrors.html#force-push-mirror-update
Proposal
I hotfixed the NPM module as follows, adding sync() to ProjectRemoteMirrors:
This seems to work
Checklist