Skip to content

Commit 2e729d6

Browse files
committed
[Bugfix] adapt /report to changed schema
1 parent fdfbfa5 commit 2e729d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/commands/report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const reportHandler = async ctx => {
1818
const admins = await getAdmins();
1919
const adminObjects = admins.map(user => ({
2020
first_name: '⭐️', // small hack to be able to use link function
21-
id: user.user_id,
21+
id: user.id,
2222
}));
2323
const stars = adminObjects.map(link).join('');
2424
const s = `📋 ${link(ctx.from)} <b>reported the message to admins:</b> ` +

0 commit comments

Comments
 (0)