mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(coderd): allow creating workspaces without specifying an organization (#14048)
This commit is contained in:
@@ -51,6 +51,12 @@ type Request[T Auditable] struct {
|
||||
Action database.AuditAction
|
||||
}
|
||||
|
||||
// UpdateOrganizationID can be used if the organization ID is not known
|
||||
// at the initiation of an audit log request.
|
||||
func (r *Request[T]) UpdateOrganizationID(id uuid.UUID) {
|
||||
r.params.OrganizationID = id
|
||||
}
|
||||
|
||||
type BackgroundAuditParams[T Auditable] struct {
|
||||
Audit Auditor
|
||||
Log slog.Logger
|
||||
|
||||
Reference in New Issue
Block a user