mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor!: rename prompt field to input for task creation (#19982)
Renames the `prompt` field to `input` for task creation. This matches the naming used in the CLI and elsewhere.
This commit is contained in:
@@ -75,7 +75,7 @@ func TestTaskCreate(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
assert.Equal(t, prompt, req.Prompt, "prompt mismatch")
|
||||
assert.Equal(t, prompt, req.Input, "prompt mismatch")
|
||||
assert.Equal(t, templateVersionID, req.TemplateVersionID, "template version mismatch")
|
||||
|
||||
if presetName == "" {
|
||||
|
||||
Reference in New Issue
Block a user