Skip to content

Commit 2c2ee04

Browse files
committed
fixup! fixup! chore: change audit type to include username
1 parent 2e49900 commit 2c2ee04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/members.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (api *API) putMemberRoles(rw http.ResponseWriter, r *http.Request) {
179179
Audit: *auditor,
180180
Log: api.Logger,
181181
Request: r,
182-
Action: database.AuditActionDelete,
182+
Action: database.AuditActionWrite,
183183
})
184184
)
185185
aReq.Old = member.OrganizationMember.Auditable(member.Username)

0 commit comments

Comments
 (0)