8000 evaluate endpoint to return 0 for id · coder/coder@761f290 · GitHub
[go: up one dir, main page]

Skip to content

Commit 761f290

Browse files
committed
evaluate endpoint to return 0 for id
1 parent b1617fb commit 761f290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ func (api *API) handleParameterEvaluate(rw http.ResponseWriter, r *http.Request,
349349
// Send an initial form state, computed without any user input.
350350
result, diagnostics := render(ctx, initial.OwnerID, initial.Inputs)
351351
response := codersdk.DynamicParametersResponse{
352-
ID: -1, // Always start with -1.
352+
ID: 0,
353353
Diagnostics: db2sdk.HCLDiagnostics(diagnostics),
354354
}
355355
if result != nil {

0 commit comments

Comments
 (0)
0