Skip to content

Commit d0487a3

Browse files
committed
debugging
1 parent 0f6f054 commit d0487a3

File tree

3 files changed

+15
-29
lines changed

3 files changed

+15
-29
lines changed

dist/index.js

Lines changed: 7 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/coolify.ts

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,6 @@ export default class Coolify {
442442
)
443443
//Create backend service
444444
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}`)
449445
const backendService = await createService({
450446
client: this.client,
451447
body: {
@@ -472,23 +468,20 @@ export default class Coolify {
472468
backendServiceUUID = backendService.data.uuid
473469

474470
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}`)
479471
const ret = await updateServiceByUuid({
480472
client: this.client,
481473
path: {
482474
uuid: backendServiceUUID
483475
},
476+
// @ts-expect-error - They updated the coolify API but not the types :(
484477
body: {
485478
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,
492485
instant_deploy: false,
493486
docker_compose_raw:
494487
Buffer.from(updatedDockerCompose).toString('base64')

0 commit comments

Comments
 (0)