minor: Add constant for alice_user_id.

This commit is contained in:
Steve Howell 2021-02-25 18:10:42 +00:00 committed by Steve Howell
parent f0d6a0d459
commit 737f60e2b7
1 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,9 @@ const emoji = zrequire("emoji", "shared/js/emoji");
const people = zrequire("people");
const reactions = zrequire("reactions");
const alice_user_id = 5;
set_global("page_params", {
user_id: 5,
user_id: alice_user_id,
});
const emoji_params = {
@ -53,7 +54,7 @@ const emoji_picker = set_global("emoji_picker", {
const alice = {
email: "alice@example.com",
user_id: 5,
user_id: alice_user_id,
full_name: "Alice",
};
const bob = {