@@ -5,23 +5,23 @@ async function start() {
55
66 console . log ( '\nTest Started' ) ;
77 const client = new Client ( ) ;
8- const foo = new Foo ( client , 'string' ) ;
8+ const foo = new Foo ( client ) ;
99 const bar = new Bar ( client ) ;
1010 const general = new General ( client ) ;
1111 // Foo
12- response = await foo . get ( 123 , [ 'string in array' ] ) ;
12+ response = await foo . get ( 'string' , 123 , [ 'string in array' ] ) ;
1313 console . log ( response . result ) ;
1414
15- response = await foo . post ( 123 , [ 'string in array' ] ) ;
15+ response = await foo . post ( 'string' , 123 , [ 'string in array' ] ) ;
1616 console . log ( response . result ) ;
1717
18- response = await foo . put ( 123 , [ 'string in array' ] ) ;
18+ response = await foo . put ( 'string' , 123 , [ 'string in array' ] ) ;
1919 console . log ( response . result ) ;
2020
21- response = await foo . patch ( 123 , [ 'string in array' ] ) ;
21+ response = await foo . patch ( 'string' , 123 , [ 'string in array' ] ) ;
2222 console . log ( response . result ) ;
2323
24- response = await foo . delete ( 123 , [ 'string in array' ] ) ;
24+ response = await foo . delete ( 'string' , 123 , [ 'string in array' ] ) ;
2525 console . log ( response . result ) ;
2626
2727 // Bar
0 commit comments