Skip to content

Commit aa33d24

Browse files
committed
Rename validations on backend
1 parent f8f0641 commit aa33d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/httpapi/httpapi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Response struct {
6767
// Validations are form field-specific friendly error messages. They will be
6868
// shown on a form field in the UI. These can also be used to add additional
6969
// context if there is a set of errors in the primary 'Message'.
70-
Validations []Error `json:"errors,omitempty"`
70+
Validations []Error `json:"validations,omitempty"`
7171
}
7272

7373
// Error represents a scoped error to a user input.

0 commit comments

Comments
 (0)