Add instance ID to JSON output

This commit is contained in:
2025-12-06 21:28:17 +01:00
parent 0217f7cc4e
commit 02193bd309
3 changed files with 2 additions and 1 deletions

View File

@@ -271,6 +271,7 @@ func (db *sqliteDB) rowToInstance(row *instanceRow) (*instance.Instance, error)
// Build complete instance JSON with all fields
instanceJSON, err := json.Marshal(map[string]any{
"id": row.ID,
"name": row.Name,
"created": row.CreatedAt,
"status": row.Status,