Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d618c5

Browse files
Update coderd/aitasks.go
Co-authored-by: Danielle Maywood <danielle@themaywoods.com>
1 parentdaec105 commit4d618c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎coderd/aitasks.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,9 @@ func (api *API) taskLogs(rw http.ResponseWriter, r *http.Request) {
697697
idStr:=chi.URLParam(r,"id")
698698
taskID,err:=uuid.Parse(idStr)
699699
iferr!=nil {
700-
httperror.WriteResponseError(ctx,rw,httperror.NewResponseError(http.StatusBadRequest, codersdk.Response{
700+
httpapi.Write(ctx,rw,http.StatusBadRequest, codersdk.Response{
701701
Message:fmt.Sprintf("Invalid UUID %q for task ID.",idStr),
702-
}))
702+
})
703703
return
704704
}
705705

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp