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

Commit9339d59

Browse files
authored
fix(audit): properly set old workspace in putWorkspaceTTL (#4251)
1 parent574635f commit9339d59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎coderd/workspaces.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ func (api *API) putWorkspaceTTL(rw http.ResponseWriter, r *http.Request) {
638638
})
639639
)
640640
defercommitAudit()
641+
aReq.Old=workspace
641642

642643
if!api.Authorize(r,rbac.ActionUpdate,workspace) {
643644
httpapi.ResourceNotFound(rw)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp