@@ -442,10 +442,6 @@ export default class Coolify {
442
442
)
443
443
//Create backend service
444
444
console . log ( `Creating service ${ supabaseComponentName } ` )
445
- console . log ( `Project UUID: ${ this . project_uuid } ` )
446
- console . log ( `Server UUID: ${ this . server_uuid } ` )
447
- console . log ( `Environment UUID: ${ this . environment_uuid } ` )
448
- console . log ( `Environment name: ${ this . environment_name } ` )
449
445
const backendService = await createService ( {
450
446
client : this . client ,
451
447
body : {
@@ -472,23 +468,20 @@ export default class Coolify {
472
468
backendServiceUUID = backendService . data . uuid
473
469
474
470
console . log ( `Updating service ${ supabaseComponentName } ` )
475
- console . log ( `Project UUID: ${ this . project_uuid } ` )
476
- console . log ( `Server UUID: ${ this . server_uuid } ` )
477
- console . log ( `Environment UUID: ${ this . environment_uuid } ` )
478
- console . log ( `Environment name: ${ this . environment_name } ` )
479
471
const ret = await updateServiceByUuid ( {
480
472
client : this . client ,
481
473
path : {
482
474
uuid : backendServiceUUID
483
475
} ,
476
+ // @ts -expect-error - They updated the coolify API but not the types :(
484
477
body : {
485
478
name : supabaseComponentName ,
486
- project_uuid : this . project_uuid ,
487
- server_uuid : this . server_uuid
488
- ? this . server_uuid
489
- : await this . getServerUUID ( ) ,
490
- environment_uuid : this . environment_uuid ,
491
- environment_name : this . environment_name ,
479
+ // project_uuid: this.project_uuid,
480
+ // server_uuid: this.server_uuid
481
+ // ? this.server_uuid
482
+ // : await this.getServerUUID(),
483
+ // environment_uuid: this.environment_uuid,
484
+ // environment_name: this.environment_name,
492
485
instant_deploy : false ,
493
486
docker_compose_raw :
494
487
Buffer . from ( updatedDockerCompose ) . toString ( 'base64' )
0 commit comments