File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const epochRotationOperations = {
2626 removeMember : true , // removes a random member from the group
2727} ;
2828export const otherOperations = {
29- createInstallation : false , // creates a new installation for a random worker
29+ createInstallation : true , // creates a new installation for a random worker
3030 sendMessage : true , // sends a message to the group
3131 sync : false , // syncs the group
3232} ;
Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ const {
3232} = getConfigFromEnv ( ) ;
3333
3434const createOperations = ( worker : Worker , groupID : string ) => {
35- const getGroup = ( ) => {
36- const group = worker . client . conversations . getConversationById ( groupID ) ;
35+ const getGroup = async ( ) => {
36+ const group =
37+ await worker . client . conversations . getConversationById ( groupID ) ;
3738 if ( ! group ) {
3839 throw new Error ( `Group ${ groupID } not found` ) ;
3940 }
40- return group as Promise < Group > ;
41+ return group as Group ;
4142 } ;
4243
4344 return {
You can’t perform that action at this time.
0 commit comments