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`.