Skip to content

Commit b6ccb80

Browse files
jetersenjdalrymple
authored andcommitted
feat: add mirror pull trigger (#130)
1 parent dfe9d2a commit b6ccb80

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/services/Projects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ class Projects extends BaseService {
4646
return RequestHelper.get(this, `projects/${pId}/languages`);
4747
}
4848

49+
mirrorPull(projectId) {
50+
const pId = encodeURIComponent(projectId);
51+
52+
return RequestHelper.post(this, `projects/${pId}/mirror/pull`);
53+
}
54+
4955
remove(projectId) {
5056
const pId = encodeURIComponent(projectId);
5157

0 commit comments

Comments
 (0)