File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export const sendRabbitMq = async (
32
32
try {
33
33
const senderChannel = await mrConnection . createChannel ( ) ;
34
34
senderChannel . sendToQueue ( queue , Buffer . from ( JSON . stringify ( data ) ) ) ;
35
+ console . log ( "Sent to queue:" , JSON . stringify ( data ) ) ;
35
36
return true ;
36
37
} catch ( error ) {
37
38
console . log ( error ) ;
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ export const matchUsers = (newRequest: string) => {
34
34
if ( isMatch ( newRequestJson , pendingRequest ) ) {
35
35
matchingRequests . delete ( uid ) ;
36
36
createMatch ( pendingRequest , newRequestJson ) ;
37
+ console . log (
38
+ "Matched users:" ,
39
+ JSON . stringify ( newRequestJson ) ,
40
+ JSON . stringify ( pendingRequest )
41
+ ) ;
37
42
return ;
38
43
}
39
44
}
You can’t perform that action at this time.
0 commit comments