Skip to content

Commit

Permalink
chore: update project title and description to prefer slug (#57)
Browse files Browse the repository at this point in the history
* chore: add max to projectPrefinancing.supportEnables

* chore: update project.projectId description and title
  • Loading branch information
blushi authored Mar 18, 2024
1 parent 001ea16 commit 0067791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions schemas/documents/shared/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ export default {
type: 'document',
fields: [
{
title: 'Project id, uuid or slug',
title: 'Project slug, on-chain id or off-chain uuid',
name: 'projectId',
type: 'string',
description: 'on-chain project id, off-chain uuid or slug',
description: 'Slug should be the prefered option if the project has a slug, otherwise it might result in the data below not being displayed on the project page.',
validation: Rule => Rule.required(),
},
{
Expand Down
2 changes: 1 addition & 1 deletion schemas/objects/projectPrefinancing.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default {
type: 'text',
},
],
validation,
validation: Rule => validation(Rule).max(6),
},
],
};
Expand Down

0 comments on commit 0067791

Please sign in to comment.