Skip to content

Commit dd5c1dc

Browse files
purfectliteraturecysjonathan
authored andcommitted
feat(cikgo): invite course users with course user names
1 parent 69dd5e9 commit dd5c1dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/services/cikgo/chats_service.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ def find_or_create_room!(course_user)
77
result = connection(:post, 'chats', body: {
88
pushKey: push_key(course_user.course),
99
userId: cikgo_user_id(course_user),
10-
role: cikgo_role(course_user)
10+
role: cikgo_role(course_user),
11+
name: course_user.name
1112
})
1213

1314
[result&.[](:url), result&.[](:openThreadsCount)]

0 commit comments

Comments
 (0)