Skip to content

Commit 4648dae

Browse files
authored
Merge pull request #17 from liorsl/patch-1
Use user display name in comment
2 parents 4913932 + dd5f963 commit 4648dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

endpoints/note.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const eventHandler = async (payload) => {
22
const user = payload.user;
33
const email = user.email;
4-
const username = user.username;
4+
const username = user.user;
55

66
const attributes = payload.object_attributes;
77
const noteableType = attributes.noteable_type;
@@ -30,4 +30,4 @@ const eventHandler = async (payload) => {
3030

3131
module.exports = {
3232
eventHandler
33-
};
33+
};

0 commit comments

Comments
 (0)