Skip to content

Commit 38af001

Browse files
committed
Merge branch 'dev' of github.com:cloudflare/cabidela into dev
2 parents 5b984cd + fde6ca1 commit 38af001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class Cabidela {
142142
if (needle.schema.hasOwnProperty("maxProperties")) {
143143
if (Object.keys(needle.payload).length > needle.schema.maxProperties) {
144144
this.throw(
145-
`maxProperties at '${pathToString(needle.path)}' is ${needle.schema.minProperties}, got ${Object.keys(needle.payload).length}`,
145+
`maxProperties at '${pathToString(needle.path)}' is ${needle.schema.maxProperties}, got ${Object.keys(needle.payload).length}`,
146146
needle,
147147
);
148148
}

0 commit comments

Comments
 (0)