Skip to content

Commit

Permalink
Add CreatedBy and Name to Cancellation (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
goodoldneon committed Mar 25, 2024
1 parent 4591f2b commit edc9918
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cqrs/cancellations.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ type CancellationWriter interface {

// Cancellation represents a cancellation of many function runs during the time specified.
type Cancellation struct {
CreatedAt time.Time `json:"created_at"`
Name *string `json:"name"`
ID ulid.ULID `json:"id"`
WorkspaceID uuid.UUID `json:"environment_id"`
// FunctionID represents the function's internal ID.
Expand Down

0 comments on commit edc9918

Please sign in to comment.