Skip to content

Commit 87e9f55

Browse files
jetersenjdalrymple
authored andcommitted
feat: Add transfer a project to a new namespace (#145)
1 parent 395f83c commit 87e9f55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/services/Projects.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ class Projects extends BaseService {
8888
return RequestHelper.post(this, `projects/${pId}/statuses/${sha}`, { state, ...options });
8989
}
9090

91+
transfer(projectId, namespace) {
92+
const pId = encodeURIComponent(projectId);
93+
return RequestHelper.put(this, `projects/${pId}/transfer`, namespace);
94+
}
95+
9196
unshare(projectId, groupId) {
9297
const [pId, gId] = [projectId, groupId].map(encodeURIComponent);
9398

0 commit comments

Comments
 (0)