diff --git a/packages/core/src/resources/ProjectRemoteMirrors.ts b/packages/core/src/resources/ProjectRemoteMirrors.ts index e1a90f0a3..2ce32ff29 100644 --- a/packages/core/src/resources/ProjectRemoteMirrors.ts +++ b/packages/core/src/resources/ProjectRemoteMirrors.ts @@ -113,4 +113,16 @@ export class ProjectRemoteMirrors extends BaseResourc options, ); } + + sync( + projectId: string | number, + mirrorId: number, + options?: Sudo & ShowExpanded, + ): Promise> { + return RequestHelper.post()( + this, + endpoint`projects/${projectId}/remote_mirrors/${mirrorId}/sync`, + options, + ); + } }