From 36c2251354802cfd605d70f256d9876b0a026b78 Mon Sep 17 00:00:00 2001 From: Johannes Marx Date: Mon, 8 Apr 2024 10:46:59 +0200 Subject: [PATCH] chore: fix typo --- functions/is-problem-json-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/is-problem-json-schema.js b/functions/is-problem-json-schema.js index 4d71cd4..f69fbd1 100644 --- a/functions/is-problem-json-schema.js +++ b/functions/is-problem-json-schema.js @@ -33,7 +33,7 @@ const assertProblemSchema = (schema) => { } const status = (schema.properties || {}).status || {}; if (status.type !== 'integer' || status.format !== 'int32') { - throw "Problem json must have property 'status' with type 'integer' and format 'in32'"; + throw "Problem json must have property 'status' with type 'integer' and format 'int32'"; } const detail = (schema.properties || {}).detail || {}; if (detail.type !== 'string') {