We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2028fae commit 3ee970fCopy full SHA for 3ee970f
1 file changed
src/components/core/compute/utils.ts
@@ -90,9 +90,9 @@ export async function validateAlgoForDataset(
90
CORE_LOGGER.logMessage(`algoDID: ${algoDID}`)
91
if (
92
// if not set allow them all
93
- (!compute.publisherTrustedAlgorithms &&
94
- !compute.publisherTrustedAlgorithmPublishers) ||
95
- (compute.publisherTrustedAlgorithms.length === 0 &&
+ (!Array.isArray(compute.publisherTrustedAlgorithms) ||
+ compute.publisherTrustedAlgorithms.length === 0) &&
+ (!Array.isArray(compute.publisherTrustedAlgorithmPublishers) ||
96
compute.publisherTrustedAlgorithmPublishers.length === 0)
97
) {
98
CORE_LOGGER.logMessage(
0 commit comments