Skip to content

Commit 08a5c2a

Browse files
committed
fix identity types
1 parent 0bf8120 commit 08a5c2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dbos/workflow.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ type WorkflowStatus struct {
3535
ID string `json:"workflow_uuid"` // Unique identifier for the workflow
3636
Status WorkflowStatusType `json:"status"` // Current execution status
3737
Name string `json:"name"` // Function name of the workflow
38-
AuthenticatedUser *string `json:"authenticated_user,omitempty"` // User who initiated the workflow (if applicable)
39-
AssumedRole *string `json:"assumed_role,omitempty"` // Role assumed during execution (if applicable)
40-
AuthenticatedRoles *string `json:"authenticated_roles,omitempty"` // Roles available to the user (if applicable)
38+
AuthenticatedUser string `json:"authenticated_user,omitempty"` // User who initiated the workflow (if applicable)
39+
AssumedRole string `json:"assumed_role,omitempty"` // Role assumed during execution (if applicable)
40+
AuthenticatedRoles []string `json:"authenticated_roles,omitempty"` // Roles available to the user (if applicable)
4141
Output any `json:"output,omitempty"` // Workflow output (available after completion)
4242
Error error `json:"error,omitempty"` // Error information (if status is ERROR)
4343
ExecutorID string `json:"executor_id"` // ID of the executor running this workflow

0 commit comments

Comments
 (0)