diff options
author | David Lawrence <dkl@mozilla.com> | 2017-12-19 05:28:51 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-19 06:24:02 +0100 |
commit | 6bcedf7e2cb411174220bff87e2c8318a210ce48 (patch) | |
tree | 28b42a1af9bb30de83d0a0eb0b99db0300f309c1 /extensions/PhabBugz/lib/Util.pm | |
parent | c1c8739bb0a2eaf98ddaa2824abf4a048f209216 (diff) | |
download | bugzilla-6bcedf7e2cb411174220bff87e2c8318a210ce48.tar.gz bugzilla-6bcedf7e2cb411174220bff87e2c8318a210ce48.tar.xz |
Bug 1422329 - The phabricator conduit API method feed.query_id return data format has changed so the phabbugz_feed.pl daemon needs to be updated
Diffstat (limited to 'extensions/PhabBugz/lib/Util.pm')
-rw-r--r-- | extensions/PhabBugz/lib/Util.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/PhabBugz/lib/Util.pm b/extensions/PhabBugz/lib/Util.pm index a00e20551..1f2b21d55 100644 --- a/extensions/PhabBugz/lib/Util.pm +++ b/extensions/PhabBugz/lib/Util.pm @@ -327,7 +327,7 @@ sub get_members_by_bmo_id { my $result = get_phab_bmo_ids({ ids => [ map { $_->id } @$users ] }); my @phab_ids; - foreach my $user (@{ $result->{result} }) { + foreach my $user (@$result) { push(@phab_ids, $user->{phid}) if ($user->{phid} && $user->{phid} =~ /^PHID-USER/); } @@ -341,7 +341,7 @@ sub get_members_by_phid { my $result = get_phab_bmo_ids({ phids => $phids }); my @bmo_ids; - foreach my $user (@{ $result->{result} }) { + foreach my $user (@$result) { push(@bmo_ids, $user->{id}) if ($user->{phid} && $user->{phid} =~ /^PHID-USER/); } |