File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 99env :
1010 WEAVIATE_124 : 1.24.21
1111 WEAVIATE_125 : 1.25.8
12- WEAVIATE_126 : 1.26.0
12+ WEAVIATE_126 : 1.26.1
1313
1414jobs :
1515 checks :
Original file line number Diff line number Diff line change @@ -44,16 +44,10 @@ const tenants = (
4444 return result ;
4545 } ) ;
4646 return {
47- create : async ( tenants : TenantBC | TenantCreate | ( TenantBC | TenantCreate ) [ ] ) => {
48- const out : Tenant [ ] = [ ] ;
49- for await ( const res of Serialize . tenants ( parseValueOrValueArray ( tenants ) , Serialize . tenantCreate ) . map (
50- ( tenants ) =>
51- new TenantsCreator ( connection , collection , tenants ) . do ( ) . then ( ( res ) => res . map ( parseTenantREST ) )
52- ) ) {
53- out . push ( ...res ) ;
54- }
55- return out ;
56- } ,
47+ create : ( tenants : TenantBC | TenantCreate | ( TenantBC | TenantCreate ) [ ] ) =>
48+ new TenantsCreator ( connection , collection , parseValueOrValueArray ( tenants ) . map ( Serialize . tenantCreate ) )
49+ . do ( )
50+ . then ( ( res ) => res . map ( parseTenantREST ) ) ,
5751 get : async function ( ) {
5852 const check = await dbVersionSupport . supportsTenantsGetGRPCMethod ( ) ;
5953 return check . supports ? getGRPC ( ) : getREST ( ) ;
You can’t perform that action at this time.
0 commit comments