Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
/chat_servicePublic archive

Commitf77f8fd

Browse files
committed
__FIX__ returning both user id and room id in expire transaction
1 parent546acf3 commitf77f8fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎lib/controllers/room_controller.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,10 @@ exports.expireTransaction = async (io, socket, data, callback) => {
393393
message:'success'
394394
}));
395395
io.to(room_id).emit('expire_transaction',Object.assign({},config.RESPONSE,{
396-
data:user_id
396+
data:{
397+
room_id,
398+
user_id
399+
}
397400
}));
398401
}
399402
}catch(e){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp