inspect search bug

This commit is contained in:
mr
2025-01-17 10:07:37 +01:00
parent 7d11c23eba
commit b990fe42d3
4 changed files with 7 additions and 12 deletions

View File

@@ -6,18 +6,13 @@ import (
"cloud.o-forge.io/core/oc-lib/tools"
)
// we don't have any information about the accessor
type abstractWorkflowResource struct {
WorkflowID string `bson:"workflow_id,omitempty" json:"workflow_id,omitempty"` // WorkflowID is the ID of the native workflow
}
type WorkflowResourcePricingProfile struct{}
// WorkflowResource is a struct that represents a workflow resource
// it defines the resource workflow
type WorkflowResource struct {
AbstractResource
abstractWorkflowResource
WorkflowID string `bson:"workflow_id,omitempty" json:"workflow_id,omitempty"` // WorkflowID is the ID of the native workflow
}
func (d *WorkflowResource) GetAccessor(request *tools.APIRequest) utils.Accessor {