diff options
author | David Lawrence <dkl@mozilla.com> | 2017-12-01 23:48:37 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-12-01 23:49:57 +0100 |
commit | 357528ba856fd85aee5967e5d7d8f4426bc8d5b6 (patch) | |
tree | e6879cc383e595ff3c9887249f70a65e7c252f8e /extensions/PhabBugz/lib/Util.pm | |
parent | f9950d225c4d7f9830012de57c5e41750675a2cf (diff) | |
download | bugzilla-357528ba856fd85aee5967e5d7d8f4426bc8d5b6.tar.gz bugzilla-357528ba856fd85aee5967e5d7d8f4426bc8d5b6.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/); } |