feat: support order property of coder_app resource (#12077)

This commit is contained in:
Marcin Tojek
2024-02-12 15:11:31 +01:00
committed by GitHub
parent 1e9a3c952f
commit 3e68650791
18 changed files with 306 additions and 195 deletions

View File

@ -1648,6 +1648,7 @@ func InsertWorkspaceResource(ctx context.Context, db database.Store, jobID uuid.
HealthcheckInterval: app.Healthcheck.Interval,
HealthcheckThreshold: app.Healthcheck.Threshold,
Health: health,
DisplayOrder: int32(app.Order),
})
if err != nil {
return xerrors.Errorf("insert app: %w", err)