mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
people: Rename method to get_by_user_id().
This name is consistent with:
get_by_email()
get_by_name()
This commit is contained in:
@@ -51,7 +51,7 @@ exports.get_emails = function () {
|
||||
// return something like "alice@example.com,bob@example.com"
|
||||
const user_ids = exports.get_user_ids();
|
||||
const emails = user_ids.map(function (id) {
|
||||
return people.get_person_from_user_id(id).email;
|
||||
return people.get_by_user_id(id).email;
|
||||
}).join(",");
|
||||
return emails;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user