Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controlplane/internal/service/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ func (s *AttestationService) FindOrCreateWorkflow(ctx context.Context, req *cpAP
return nil, handleUseCaseErr(err, s.log)
}
// Check if the contract name the user wants to use is the same as the one in the workflow
} else if req.GetContractName() != wf.ContractName {
} else if req.GetContractName() != "" && req.GetContractName() != wf.ContractName {
return nil, errors.BadRequest("bad request", "you can't change to another contract during the attestation process, please update the workflow")
}

Expand Down
Loading