File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @blink-sdk/slack" ,
3- "version" : " 1.2.0 " ,
3+ "version" : " 1.2.1 " ,
44 "author" : {
55 "name" : " Coder" ,
66 "email" : " support@blink.so" ,
Original file line number Diff line number Diff line change @@ -582,8 +582,7 @@ export const extractMessagesMetadata = async <
582582 for ( const channelId of channelIds ) {
583583 channelPromises [ channelId ] = client . conversations
584584 . info ( { channel : channelId } )
585- . then ( ( res ) => res . channel )
586- . catch ( ( ) => undefined ) ;
585+ . then ( ( res ) => res . channel ) ;
587586 }
588587
589588 // Fetch team info
@@ -594,8 +593,7 @@ export const extractMessagesMetadata = async <
594593 for ( const teamId of teamIds ) {
595594 teamPromises [ teamId ] = client . team
596595 . info ( { team : teamId } )
597- . then ( ( res ) => res . team )
598- . catch ( ( ) => undefined ) ;
596+ . then ( ( res ) => res . team ) ;
599597 }
600598
601599 // Fetch user info
@@ -606,8 +604,7 @@ export const extractMessagesMetadata = async <
606604 for ( const userId of userIds ) {
607605 userPromises [ userId ] = client . users
608606 . info ( { user : userId } )
609- . then ( ( res ) => res . user )
610- . catch ( ( ) => undefined ) ;
607+ . then ( ( res ) => res . user ) ;
611608 }
612609
613610 // Fetch files
You can’t perform that action at this time.
0 commit comments