We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19d58b commit 6a53282Copy full SHA for 6a53282
packages/sdk/src/lib/dataProtectorSharing/consumeProtectedData.ts
@@ -17,6 +17,7 @@ import {
17
throwIfMissing,
18
validateOnStatusUpdateCallback,
19
positiveNumberSchema,
20
+ stringSchema,
21
} from '../../utils/validators.js';
22
import {
23
ConsumeProtectedDataParams,
@@ -56,7 +57,7 @@ export const consumeProtectedData = async ({
56
57
const vMaxPrice = positiveNumberSchema()
58
.label('maxPrice')
59
.validateSync(maxPrice);
- const vPath = string().label('path').validateSync(path);
60
+ const vPath = stringSchema().label('path').validateSync(path);
61
let vApp = addressOrEnsSchema().required().label('app').validateSync(app);
62
let vWorkerpool = addressOrEnsSchema()
63
.label('workerpool')
0 commit comments