From 52481978fe3eb0850ea8a6ee227ed5e1ca8cafb9 Mon Sep 17 00:00:00 2001 From: Sergey <15525997+Codeavr@users.noreply.github.com> Date: Fri, 24 Jul 2020 09:19:55 +0300 Subject: [PATCH] Made get_changes_by_build_id return list of changes get_changes_by_build_id(int) returns only vcs root change of a build, but must (in my opion) return list of changes in a build --- pyteamcity/legacy/legacy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyteamcity/legacy/legacy.py b/pyteamcity/legacy/legacy.py index 810c0cf..3323181 100755 --- a/pyteamcity/legacy/legacy.py +++ b/pyteamcity/legacy/legacy.py @@ -296,7 +296,7 @@ def get_change_by_change_id(self, change_id): :param change_id: the change to get, in the format [0-9]+ """ - @GET('changes/build:id:{build_id}') + @GET('changes?locator=build:{build_id}') def get_changes_by_build_id(self, build_id): """ Gets changes in a build for a build ID `build_id`.