Skip to content

Commit e89d557

Browse files
committed
🚒 Fixes gitlab URI when listing merge requests
fixes #137
1 parent 78df68a commit e89d557

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

git_repo/services/ext/gitlab.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,7 @@ def request_list(self, user, repo):
337337
for mr in self.gl.project_mergerequests.list(project_id=project.id):
338338
yield ( str(mr.iid),
339339
mr.title,
340-
'https://{}/{}/{}/merge_requests/{}'.format(
341-
self.fqdn,
342-
project.namespace.name,
343-
project.name,
344-
mr.iid
345-
)
340+
mr.web_url
346341
)
347342

348343
def request_fetch(self, user, repo, request, pull=False, force=False):

0 commit comments

Comments
 (0)