@@ -208,7 +208,7 @@ const CoCreate = {
208208 return {
209209 "apiKey" : config . apiKey ,
210210 "securityKey" : config . securityKey ,
211- "organization_id" : config . organization_Id ,
211+ "organization_id" : config . organization_id ,
212212 }
213213 } ,
214214
@@ -298,7 +298,7 @@ const CoCreate = {
298298 let data = info . data || { } ;
299299
300300 if ( ! data [ 'organization_id' ] ) {
301- data [ 'organization_id' ] = config . organization_Id
301+ data [ 'organization_id' ] = config . organization_id
302302 }
303303
304304 request_data [ 'data' ] = data ;
@@ -321,7 +321,7 @@ const CoCreate = {
321321 } ,
322322
323323 generateSocketClient : function ( namespace , room ) {
324- let ns = namespace || config . organization_Id
324+ let ns = namespace || config . organization_id
325325 let rr = room || '' ;
326326 if ( rr ) {
327327 return `${ ns } /${ rr } `
@@ -460,7 +460,7 @@ const CoCreate = {
460460 if ( ! collection || ! document_id || ! name ) {
461461 return null ;
462462 }
463- return CoCreateYSocket . generateID ( config . organization_Id , collection , document_id , name ) ;
463+ return CoCreateYSocket . generateID ( config . organization_id , collection , document_id , name ) ;
464464
465465 } ,
466466
@@ -748,5 +748,5 @@ const CoCreate = {
748748}
749749
750750
751- CoCreate . init ( 'server.cocreate.app:8088' , config . organization_Id ) ;
751+ CoCreate . init ( 'server.cocreate.app:8088' , config . organization_id ) ;
752752
0 commit comments