Skip to content

Commit

Permalink
chores(validator): Update layers validation as per array
Browse files Browse the repository at this point in the history
  • Loading branch information
srijitcoder committed Sep 3, 2024
1 parent 492d972 commit ef230cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/storytelling/src/helpers/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const groupLayerSchema = joi.object({
})
.unknown()
.required(),
layers: basicLayerSchema,
layers: joi.array().items(basicLayerSchema),
});

// EOxMap validation schema
Expand Down

0 comments on commit ef230cc

Please sign in to comment.