From 16788d7ab75d74b6d2f4c2c4a21bb61ab80cbf36 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 26 Jan 2022 12:41:54 +0100 Subject: [PATCH] :bug: Make a path command params property nilable on spec. --- common/src/app/common/pages/spec.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/pages/spec.cljc b/common/src/app/common/pages/spec.cljc index cb642c7fcd..9bd6957567 100644 --- a/common/src/app/common/pages/spec.cljc +++ b/common/src/app/common/pages/spec.cljc @@ -353,7 +353,7 @@ (s/keys :req-un [:internal.shape.text/text]))) (s/def :internal.shape.path/command keyword?) -(s/def :internal.shape.path/params (s/map-of keyword? any?)) +(s/def :internal.shape.path/params (s/nilable (s/map-of keyword? any?))) (s/def :internal.shape.path/command-item (s/keys :req-un [:internal.shape.path/command :internal.shape.path/params]))