refactor(controller): changed to use plant token to update, and hardcoded if we use a test server

This commit is contained in:
2025-09-30 06:01:31 -05:00
parent 41a0d241b0
commit 18e57127e2
3 changed files with 8 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ func UpdateServerStats(buildNumber int64) {
os.Getenv("DATABASE_DB"),
)
fmt.Println(url)
ctx := context.Background()
conn, err := pgx.Connect(ctx, url)