Skip to content

Commit

Permalink
feat: Update catalog relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Feb 15, 2021
1 parent 7c7210e commit 53cc8b7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions studio/schemas/country.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ export default {
{
name: 'catalog',
title: 'Catalog',
type: 'array',
of: [
type: 'reference',
to: [
{
type: 'reference',
to: {
type: 'catalog',
},
type: 'catalog',
},
],
validation: (rule) => rule.required(),
Expand Down

0 comments on commit 53cc8b7

Please sign in to comment.