Skip to content

Commit

Permalink
Merge pull request #348 from nihgwu/patch-1
Browse files Browse the repository at this point in the history
fix example in docs
  • Loading branch information
pmcnr-hx committed Dec 7, 2017
2 parents e372535 + b8dd70f commit 436bb10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/suggested-project-structure.md
Expand Up @@ -54,9 +54,9 @@ jsonApi.define({
resource: "photos",
handlers: photosHandler,
attributes: {
title: jsonApi.Joi.string()
url: jsonApi.Joi.string().uri()
height: jsonApi.Joi.number().min(1).max(10000).precision(0)
title: jsonApi.Joi.string(),
url: jsonApi.Joi.string().uri(),
height: jsonApi.Joi.number().min(1).max(10000).precision(0),
width: jsonApi.Joi.number().min(1).max(10000).precision(0)
}
});
Expand Down

0 comments on commit 436bb10

Please sign in to comment.